diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-10-11 02:19:18 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-10-11 02:19:18 +0000 |
commit | 1bc15c21d6f0d233983c79d852a5d6ee10c2781e (patch) | |
tree | 10ece5118e57a9634f37faf7cd24315d076471ff /Lib/test/test_dbm.py | |
parent | f10a79aad4e2fc62d2c3675e89f873b22b185e7b (diff) | |
download | cpython-git-1bc15c21d6f0d233983c79d852a5d6ee10c2781e.tar.gz |
fix merge boo-boo
Diffstat (limited to 'Lib/test/test_dbm.py')
-rw-r--r-- | Lib/test/test_dbm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_dbm.py b/Lib/test/test_dbm.py index 9f929f4fec..cd2ff2705d 100644 --- a/Lib/test/test_dbm.py +++ b/Lib/test/test_dbm.py @@ -154,8 +154,8 @@ class WhichDBTestCase(unittest.TestCase): for k, v in a: self.assert_(k in self.d) self.assertEqual(self.d[k], v) - self.assert_('xxx' not in self.d) - self.assertRaises(KeyError, lambda: self.d['xxx']) + self.assert_(b'xxx' not in self.d) + self.assertRaises(KeyError, lambda: self.d[b'xxx']) self.d.close() |