gh-93353: Fix regrtest for -jN with N >= 2 (GH-93813)

This commit is contained in:
Victor Stinner 2022-06-14 18:04:53 +02:00 committed by GitHub
parent 6b330002b1
commit 36934a16e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 16 deletions

View file

@ -1375,7 +1375,9 @@ class ArgsTestCase(BaseTestCase):
self.check_executed_tests(output, [testname],
env_changed=[testname],
fail_env_changed=True)
self.assertIn("Warning -- Test leaked temporary files (1): mytmpfile", output)
self.assertIn(f"Warning -- {testname} leaked temporary "
f"files (1): mytmpfile",
output)
class TestUtils(unittest.TestCase):