Skip to content

Commit a7b0850

Browse files
committed
replace eq(..., False) with assert_false
1 parent 61f09de commit a7b0850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zarr/tests/test_hierarchy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def test_getattr(self):
493493
eq(g1['foo'], g1.foo)
494494
eq(g2['bar'], g2.bar)
495495
# test that hasattr returns False instead of an exception (issue #88)
496-
eq(hasattr(g1, '__unexistingattribute__'), False)
496+
assert_false(hasattr(g1, 'unexistingattribute'))
497497

498498
def test_group_repr(self):
499499
g = self.create_group()

0 commit comments

Comments
 (0)