mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +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
|
@ -71,7 +71,7 @@ class TestUnicodeFiles(unittest.TestCase):
|
|||
base = unicodedata.normalize("NFD", base)
|
||||
file_list = [unicodedata.normalize("NFD", f) for f in file_list]
|
||||
|
||||
self.assertTrue(base in file_list)
|
||||
self.assertIn(base, file_list)
|
||||
|
||||
# Do as many "equivalancy' tests as we can - ie, check that although we
|
||||
# have different types for the filename, they refer to the same file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue