commit | 6252e10ed906eb419a75b310f7c0d6696a4eeb46 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed May 23 20:51:02 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed May 23 20:51:02 2007 +0000 |
tree | b6b46cf0e5d1528d736cde47d1089aefc46bbf05 | |
parent | 517bcfeb6be448f47804900ac75c804d8f70a20e [diff] [blame] |
Make gdbm and dumbdbm use byte strings. Updated their tests.
diff --git a/Lib/test/test_whichdb.py b/Lib/test/test_whichdb.py index f2652c1..6cb5e4f 100644 --- a/Lib/test/test_whichdb.py +++ b/Lib/test/test_whichdb.py
@@ -51,7 +51,7 @@ self.assertEqual(name, whichdb.whichdb(_fname)) # Now add a key f = mod.open(_fname, 'w') - f["1"] = "1" + f["1"] = b"1" f.close() self.assertEqual(name, whichdb.whichdb(_fname)) setattr(WhichDBTestCase,"test_whichdb_%s" % name, test_whichdb_name)