mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
use assert[Not]In where appropriate
This commit is contained in:
parent
0f77f465ff
commit
b58e0bd8bb
39 changed files with 176 additions and 173 deletions
|
@ -627,7 +627,7 @@ class TestCopy(unittest.TestCase):
|
|||
x, y = C(), C()
|
||||
# The underlying containers are decoupled
|
||||
v[x] = y
|
||||
self.assertFalse(x in u)
|
||||
self.assertNotIn(x, u)
|
||||
|
||||
def test_copy_weakkeydict(self):
|
||||
self._check_copy_weakdict(weakref.WeakKeyDictionary)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue