Skip to content

Commit 5cc31df

Browse files
authored
Update numcodecs/tests/test_registry.py
1 parent c22b97f commit 5cc31df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numcodecs/tests/test_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_all_classes_registered():
3434
if (
3535
inspect.isclass(obj)
3636
and issubclass(obj, numcodecs.abc.Codec)
37-
and hasattr(obj, 'codec_id')
37+
and obj is not numcodecs.abc.Codec
3838
and obj.codec_id not in numcodecs.registry.codec_registry
3939
)
4040
}

0 commit comments

Comments
 (0)