summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dbm.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dbm.py')
-rwxr-xr-xLib/test/test_dbm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_dbm.py b/Lib/test/test_dbm.py
index 94949cf..b74194a 100755
--- a/Lib/test/test_dbm.py
+++ b/Lib/test/test_dbm.py
@@ -4,11 +4,12 @@
"""
import dbm
from dbm import error
-from test_support import verbose
+from test_support import verbose, verify
filename = '/tmp/delete_me'
d = dbm.open(filename, 'c')
+verify(d.keys() == [])
d['a'] = 'b'
d['12345678910'] = '019237410982340912840198242'
d.keys()