(self)
| 3931 | self.assertEqual(stderr.count("ast.literal_eval('')"), 1) |
| 3932 | |
| 3933 | def test_issue26053(self): |
| 3934 | # run command of pdb prompt echoes the correct args |
| 3935 | script = "print('hello')" |
| 3936 | commands = """ |
| 3937 | continue |
| 3938 | run a b c |
| 3939 | run d e f |
| 3940 | quit |
| 3941 | """ |
| 3942 | stdout, stderr = self.run_pdb_script(script, commands) |
| 3943 | res = '\n'.join([x.strip() for x in stdout.splitlines()]) |
| 3944 | self.assertRegex(res, "Restarting .* with arguments:\na b c") |
| 3945 | self.assertRegex(res, "Restarting .* with arguments:\nd e f") |
| 3946 | |
| 3947 | def test_issue58956(self): |
| 3948 | # Set a breakpoint in a function that already exists on the call stack |
nothing calls this directly
no test coverage detected