(self)
| 20 | self.assertEqual(make_hashable(value), expected) |
| 21 | |
| 22 | def test_count_equal(self): |
| 23 | tests = ( |
| 24 | ({"a": 1, "b": ["a", 1]}, (("a", 1), ("b", ("a", 1)))), |
| 25 | ({"a": 1, "b": ("a", [1, 2])}, (("a", 1), ("b", ("a", (1, 2))))), |
| 26 | ) |
| 27 | for value, expected in tests: |
| 28 | with self.subTest(value=value): |
| 29 | self.assertCountEqual(make_hashable(value), expected) |
| 30 | |
| 31 | def test_unhashable(self): |
| 32 | class Unhashable: |
nothing calls this directly
no test coverage detected