We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e689cdc commit bd4ab8eCopy full SHA for bd4ab8e
Lib/test/test_pdb.py
@@ -1453,9 +1453,9 @@ def test_issue26053(self):
1453
quit
1454
"""
1455
stdout, stderr = self.run_pdb_script(script, commands)
1456
- output = '\n'.join([x.strip() for x in stdout.splitlines()])
1457
- self.assertIn("Restarting main.py with arguments:\na b c", output)
1458
- self.assertIn("Restarting main.py with arguments:\nd e f", output)
+ res = '\n'.join([x.strip() for x in stdout.splitlines()])
+ self.assertRegex(res, "Restarting .* with arguments:\na b c")
+ self.assertRegex(res, "Restarting .* with arguments:\nd e f")
1459
1460
def test_readrc_kwarg(self):
1461
script = textwrap.dedent("""
0 commit comments