mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2024-11-14 02:34:28 +00:00
10 lines
232 B
Python
10 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]
|