mirror of
https://github.com/python/cpython.git
synced 2025-10-20 16:33:53 +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
|
|
@ -1380,7 +1380,7 @@ def test_modules_search_builtin(self):
|
|||
helper('modules garbage')
|
||||
result = help_io.getvalue()
|
||||
|
||||
self.assertTrue(result.startswith(expected))
|
||||
self.assertStartsWith(result, expected)
|
||||
|
||||
def test_importfile(self):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue