diff options
Diffstat (limited to 'Lib/test/test_dbm.py')
-rw-r--r-- | Lib/test/test_dbm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_dbm.py b/Lib/test/test_dbm.py index 2008776..78357a0 100644 --- a/Lib/test/test_dbm.py +++ b/Lib/test/test_dbm.py @@ -93,7 +93,7 @@ class AnyDBMTestCase(unittest.TestCase): self.init_db() f = dbm.open(_fname, 'r') key = "a".encode("ascii") - assert(key in f) + self.assertIn(key, f) assert(f[key] == b"Python:") f.close() |