Skip to content

Commit 75abaed

Browse files
committed
Cleanup the test
1 parent 474c166 commit 75abaed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1912,7 +1912,7 @@ def test_hash(self):
19121912
frozendict({"a": "b", False: True, True: "c"}),
19131913
]
19141914
hashes = {hash(fd) for fd in cases}
1915-
self.assertEqual(len(hashes), 5)
1915+
self.assertEqual(len(hashes), len(cases))
19161916

19171917
fd = frozendict(x=[1], y=[2])
19181918
with self.assertRaisesRegex(TypeError, "unhashable type: 'list'"):

0 commit comments

Comments
 (0)