mirror of
https://github.com/python/cpython.git
synced 2025-12-23 00:48:41 +00:00
gh-71339: Use new assertion methods in tests (GH-129046)
This commit is contained in:
parent
bb244fd33d
commit
2602d8ae98
117 changed files with 407 additions and 445 deletions
|
|
@ -1650,7 +1650,7 @@ class WriteTest(WriteTestBase, unittest.TestCase):
|
|||
try:
|
||||
for t in tar:
|
||||
if t.name != ".":
|
||||
self.assertTrue(t.name.startswith("./"), t.name)
|
||||
self.assertStartsWith(t.name, "./")
|
||||
finally:
|
||||
tar.close()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue