Discussion:
[Python-3000-checkins] r66877 - python/branches/py3k/Lib/test/test_dbm.py
benjamin.peterson
2008-10-11 02:19:19 UTC
Permalink
Author: benjamin.peterson
Date: Sat Oct 11 04:19:18 2008
New Revision: 66877

Log:
fix merge boo-boo

Modified:
python/branches/py3k/Lib/test/test_dbm.py

Modified: python/branches/py3k/Lib/test/test_dbm.py
==============================================================================
--- python/branches/py3k/Lib/test/test_dbm.py (original)
+++ python/branches/py3k/Lib/test/test_dbm.py Sat Oct 11 04:19:18 2008
@@ -154,8 +154,8 @@
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()

Loading...