diff options
author | Guido van Rossum <guido@python.org> | 2007-05-23 20:51:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-05-23 20:51:02 (GMT) |
commit | 6252e10ed906eb419a75b310f7c0d6696a4eeb46 (patch) | |
tree | b6b46cf0e5d1528d736cde47d1089aefc46bbf05 /Lib/test/test_gdbm.py | |
parent | 517bcfeb6be448f47804900ac75c804d8f70a20e (diff) | |
download | cpython-6252e10ed906eb419a75b310f7c0d6696a4eeb46.zip cpython-6252e10ed906eb419a75b310f7c0d6696a4eeb46.tar.gz cpython-6252e10ed906eb419a75b310f7c0d6696a4eeb46.tar.bz2 |
Make gdbm and dumbdbm use byte strings. Updated their tests.
Diffstat (limited to 'Lib/test/test_gdbm.py')
-rwxr-xr-x | Lib/test/test_gdbm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_gdbm.py b/Lib/test/test_gdbm.py index ae76e39..4daca61 100755 --- a/Lib/test/test_gdbm.py +++ b/Lib/test/test_gdbm.py @@ -12,7 +12,7 @@ filename = TESTFN g = gdbm.open(filename, 'c') verify(g.keys() == []) g['a'] = 'b' -g['12345678910'] = '019237410982340912840198242' +g['12345678910'] = b'019237410982340912840198242' a = g.keys() if verbose: print('Test gdbm file keys: ', a) |