Skip to content

Commit b32a3e8

Browse files
author
Martin Durant
committed
Fix and reduce text output
1 parent 8718357 commit b32a3e8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

zarr/tests/test_storage.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -977,8 +977,8 @@ def test_s3_complex(self):
977977

978978
assert (g2.data[:] == expected).all()
979979

980-
g2.data[:] = 5 # write with scalar
981-
assert (g2.data[:] == 5).all()
980+
b[:] = 5 # write with scalar
981+
assert (b[:] == 5).all()
982982

983983
assert g2.data_f['foo'].tolist() == [b"aaa"] * 4 + [b"b"] * 4
984984
with pytest.raises(PermissionError):
@@ -1015,7 +1015,8 @@ def s3(request):
10151015

10161016
port = 5555
10171017
endpoint_uri = 'http://127.0.0.1:%s/' % port
1018-
proc = subprocess.Popen(shlex.split("moto_server s3 -p %s" % port))
1018+
proc = subprocess.Popen(shlex.split("moto_server s3 -p %s" % port),
1019+
stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL)
10191020

10201021
timeout = 5
10211022
while timeout > 0:

0 commit comments

Comments
 (0)