Fix test_gdbm.

This commit is contained in:
Martin v. Löwis 2007-08-14 09:24:24 +00:00
parent 967f1e3b85
commit 5bcf109c73
1 changed files with 3 additions and 3 deletions

View File

@ -11,13 +11,13 @@
g = gdbm.open(filename, 'c')
verify(g.keys() == [])
g['a'] = 'b'
g['12345678910'] = b'019237410982340912840198242'
g[b'a'] = b'b'
g[b'12345678910'] = b'019237410982340912840198242'
a = g.keys()
if verbose:
print('Test gdbm file keys: ', a)
'a' in g
b'a' in g
g.close()
try:
g['a']