diff options
Diffstat (limited to 'Lib/test/test_whichdb.py')
-rw-r--r-- | Lib/test/test_whichdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_whichdb.py b/Lib/test/test_whichdb.py index 6cb5e4f..675507a 100644 --- a/Lib/test/test_whichdb.py +++ b/Lib/test/test_whichdb.py @@ -51,7 +51,7 @@ for name in anydbm._names: self.assertEqual(name, whichdb.whichdb(_fname)) # Now add a key f = mod.open(_fname, 'w') - f["1"] = b"1" + f[b"1"] = b"1" f.close() self.assertEqual(name, whichdb.whichdb(_fname)) setattr(WhichDBTestCase,"test_whichdb_%s" % name, test_whichdb_name) |