mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +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
|
@ -486,7 +486,7 @@ class MemberReadTest(ReadTest):
|
|||
|
||||
def test_find_ustar_longname(self):
|
||||
name = "ustar/" + "12345/" * 39 + "1234567/longname"
|
||||
self.assertTrue(name in self.tar.getnames())
|
||||
self.assertIn(name, self.tar.getnames())
|
||||
|
||||
def test_find_regtype_oldv7(self):
|
||||
tarinfo = self.tar.getmember("misc/regtype-old-v7")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue