summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdbm.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-08-14 09:24:24 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-08-14 09:24:24 (GMT)
commit5bcf109c735b2649ae762f9df6c8d1dfcb20a25b (patch)
tree84b098750c3239cd83d2d9e88c8614bb33ffcfe4 /Lib/test/test_gdbm.py
parent967f1e3b85ac239d6ae9900a62304392682131a7 (diff)
downloadcpython-5bcf109c735b2649ae762f9df6c8d1dfcb20a25b.zip
cpython-5bcf109c735b2649ae762f9df6c8d1dfcb20a25b.tar.gz
cpython-5bcf109c735b2649ae762f9df6c8d1dfcb20a25b.tar.bz2
Fix test_gdbm.
Diffstat (limited to 'Lib/test/test_gdbm.py')
-rwxr-xr-xLib/test/test_gdbm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_gdbm.py b/Lib/test/test_gdbm.py
index 4daca61..c76b95b 100755
--- a/Lib/test/test_gdbm.py
+++ b/Lib/test/test_gdbm.py
@@ -11,13 +11,13 @@ filename = TESTFN
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']