Skip to content

Commit 92835f0

Browse files
committed
Fixes ci
1 parent 2937755 commit 92835f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_io/test_io_equality.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
def test_equality():
99
"""Ensures that containers can be compared."""
1010
assert IO(1) == IO(1)
11-
assert str(IO(1)) == '<IO: 1>'
12-
assert hash(IO(1))
11+
assert str(IO(2)) == '<IO: 2>'
12+
assert hash(IO((1, 2, 3)))
1313

1414

1515
def test_nonequality():
1616
"""Ensures that containers are not compared to regular values."""
1717
assert IO(1) != 1
18-
assert IO(1) is not IO(1)
19-
assert IO(1) != IO(2)
18+
assert IO(2) is not IO(2)
19+
assert IO('a') != IO('b')

0 commit comments

Comments
 (0)