Skip to content

Commit

Permalink
bpo-26053: Fix test_pdb.test_issue26053() (GH-25139)
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel authored Apr 1, 2021
1 parent e689cdc commit bd4ab8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/test/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1453,9 +1453,9 @@ def test_issue26053(self):
quit
"""
stdout, stderr = self.run_pdb_script(script, commands)
output = '\n'.join([x.strip() for x in stdout.splitlines()])
self.assertIn("Restarting main.py with arguments:\na b c", output)
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")

def test_readrc_kwarg(self):
script = textwrap.dedent("""
Expand Down

0 comments on commit bd4ab8e

Please sign in to comment.