diff options
Diffstat (limited to 'Lib/test/test_dbm.py')
| -rwxr-xr-x | Lib/test/test_dbm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_dbm.py b/Lib/test/test_dbm.py index 1627fff..43f8a5b 100755 --- a/Lib/test/test_dbm.py +++ b/Lib/test/test_dbm.py @@ -21,9 +21,9 @@ class DbmTestCase(unittest.TestCase): self.d[k] = v self.assertEqual(sorted(self.d.keys()), sorted(k for (k, v) in a)) for k, v in a: - self.assert_(k in self.d) + self.assertTrue(k in self.d) self.assertEqual(self.d[k], v) - self.assert_('xxx' not in self.d) + self.assertTrue('xxx' not in self.d) self.assertRaises(KeyError, lambda: self.d['xxx']) self.d.close() |
