Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f10a79a commit 1bc15c2Copy full SHA for 1bc15c2
1 file changed
Lib/test/test_dbm.py
@@ -154,8 +154,8 @@ def test_keys(self):
154
for k, v in a:
155
self.assert_(k in self.d)
156
self.assertEqual(self.d[k], v)
157
- self.assert_('xxx' not in self.d)
158
- self.assertRaises(KeyError, lambda: self.d['xxx'])
+ self.assert_(b'xxx' not in self.d)
+ self.assertRaises(KeyError, lambda: self.d[b'xxx'])
159
self.d.close()
160
161
0 commit comments