Skip to content

Commit e77e4ea

Browse files
committed
Adds more tests
1 parent 71e89e7 commit e77e4ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_typeclass/test_call.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ def _my_len_list(instance: list) -> int:
2525
return 1
2626

2727

28-
@pytest.mark.parameterized(('data_type', 'expected'), [
28+
@pytest.mark.parametrize(('data_type', 'expected'), [
2929
([], 1), # direct list call
3030
('', 0), # sized protocol
31-
(None, -1), # object fallback
31+
(1, -1), # object fallback
3232
])
3333
def test_call_order(data_type, expected):
3434
"""Ensures that call order is correct."""

0 commit comments

Comments
 (0)