mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2024-11-15 03:04:29 +00:00
11 lines
232 B
Python
11 lines
232 B
Python
|
"""
|
||
|
Tests for dunder methods on all interfaces
|
||
|
"""
|
||
|
|
||
|
|
||
|
def test_dunder_len(all_interfaces):
|
||
|
"""
|
||
|
Each interface or proxy type should support __len__
|
||
|
"""
|
||
|
assert len(all_interfaces.array) == all_interfaces.array.shape[0]
|