mirror of https://github.com/python/cpython.git
fix merge boo-boo
This commit is contained in:
parent
f10a79aad4
commit
1bc15c21d6
|
@ -154,8 +154,8 @@ def test_keys(self):
|
|||
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…
Reference in New Issue