Browse Source

bpo-26053: Fix test_pdb.test_issue26053() (GH-25139)

pull/25141/head
Irit Katriel 5 years ago
committed by GitHub
parent
commit
bd4ab8e739
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      Lib/test/test_pdb.py

6
Lib/test/test_pdb.py

@ -1453,9 +1453,9 @@ def bœr():
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("""

Loading…
Cancel
Save