mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -113,7 +113,7 @@ class test__RandomNameSequence(TC):
|
|||
for i in range(TEST_FILES):
|
||||
s = next(r)
|
||||
self.nameCheck(s, '', '', '')
|
||||
self.assertFalse(s in dict)
|
||||
self.assertNotIn(s, dict)
|
||||
dict[s] = 1
|
||||
|
||||
def supports_iter(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue