Skip to content

Commit 7356b8b

Browse files
Tarik Onalanalimanfoo
authored andcommitted
Reference upstream numpy bug in test suite
1 parent c0eacea commit 7356b8b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

zarr/tests/test_core.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -925,8 +925,7 @@ def test_structured_array_subshapes(self):
925925
assert_array_equal(a['bar'], z['bar'])
926926
assert_array_equal(a['baz'], z['baz'])
927927
else:
928-
# BUG(onalant): numpy cannot compare empty arrays of structured dtypes with
929-
# subshapes
928+
# BUG(onalant): https://www.github.com/numpy/numpy/issues/11946
930929
assert a.tobytes() == z[...].tobytes()
931930

932931
def test_structured_array_nested(self):
@@ -959,8 +958,7 @@ def test_structured_array_nested(self):
959958
assert_array_equal(a['bar'], z['bar'])
960959
assert_array_equal(a['baz'], z['baz'])
961960
else:
962-
# BUG(onalant): numpy cannot compare empty arrays of structured dtypes with
963-
# subshapes
961+
# BUG(onalant): https://www.github.com/numpy/numpy/issues/11946
964962
assert a.tobytes() == z[...].tobytes()
965963

966964
def test_dtypes(self):

0 commit comments

Comments
 (0)