From: Benjamin Peterson Date: Sat, 11 Oct 2008 02:19:18 +0000 (+0000) Subject: fix merge boo-boo X-Git-Tag: v3.0rc2~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1bc15c21d6f0d233983c79d852a5d6ee10c2781e;p=python fix merge boo-boo --- 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()