commit | 5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Jun 30 22:57:08 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Jun 30 22:57:08 2009 +0000 |
tree | 41f38aca16748628d53906337f06fdf087f52314 | |
parent | be96cf608fa656d7e53144cf85082ed5661e8c13 [diff] [blame] |
convert usage of fail* to assert*
diff --git a/Lib/test/test_hash.py b/Lib/test/test_hash.py index fa0fb23..18ec04e 100644 --- a/Lib/test/test_hash.py +++ b/Lib/test/test_hash.py
@@ -105,7 +105,7 @@ objects = (self.default_expected + self.fixed_expected) for obj in objects: - self.assert_(isinstance(obj, Hashable), repr(obj)) + self.assertTrue(isinstance(obj, Hashable), repr(obj)) def test_not_hashable(self): for obj in self.error_expected: