From 1bc15c21d6f0d233983c79d852a5d6ee10c2781e Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 11 Oct 2008 02:19:18 +0000 Subject: [PATCH] fix merge boo-boo --- Lib/test/test_dbm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_dbm.py b/Lib/test/test_dbm.py index 9f929f4fec7..cd2ff2705d2 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()