summaryrefslogtreecommitdiff
path: root/Lib/test/test_dumbdbm.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dumbdbm.py')
-rw-r--r--Lib/test/test_dumbdbm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_dumbdbm.py b/Lib/test/test_dumbdbm.py
index d5a74fbf1a..f327a5ae52 100644
--- a/Lib/test/test_dumbdbm.py
+++ b/Lib/test/test_dumbdbm.py
@@ -92,7 +92,7 @@ class DumbDBMTestCase(unittest.TestCase):
def test_write_contains(self):
f = dumbdbm.open(_fname)
f[b'1'] = b'hello'
- assert b'1' in f
+ self.assertTrue(b'1' in f)
f.close()
def test_write_write_read(self):