mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -41,7 +41,6 @@ class PyclbrTest(TestCase):
|
|||
if key not in obj:
|
||||
print("***",key, file=sys.stderr)
|
||||
self.assertIn(key, obj)
|
||||
self.assertTrue(key in obj, "%r in %r" % (key, obj))
|
||||
|
||||
def assertEqualsOrIgnored(self, a, b, ignore):
|
||||
''' succeed iff a == b or a in ignore or b in ignore '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue