diff options
Diffstat (limited to 'Lib/unittest.py')
-rw-r--r-- | Lib/unittest.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py index b5a1a4b8b5..09c6ca97c8 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -425,6 +425,9 @@ class TestSuite: def __ne__(self, other): return not self == other + # Can't guarantee hash invariant, so flag as unhashable + __hash__ = None + def __iter__(self): return iter(self._tests) |