mirror of
https://github.com/python/cpython.git
synced 2025-09-13 12:17:24 +00:00
use assert[Not]In where appropriate
This commit is contained in:
parent
8cd0a66a0f
commit
aa98058cc4
86 changed files with 622 additions and 599 deletions
|
@ -622,7 +622,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