Skip to content

Commit 818ec36

Browse files
test: Add dummy unlike sequences
1 parent 50b4c85 commit 818ec36

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

tests/test_dataframe_compatibility.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,13 @@ class DummySequenceLike(DummyLengthOnly, DummyGetOnly):
2929
def __init__(self, length: typing.Any, dataset: list):
3030
DummyLengthOnly.__init__(self, length)
3131
DummyGetOnly.__init__(self, dataset)
32+
33+
34+
class DummyUnlikeSequence1:
35+
def __init__(self) -> None: ...
36+
37+
38+
class DummyUnlikeSequence2:
39+
def __init__(self) -> None: ...
40+
def __str__(self) -> str:
41+
return 'invalid'

0 commit comments

Comments
 (0)