Check that f.keys() == [] right after creation -- this prevents bugs
like the one I just fixed to come back and haunt us.
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()