(self)
| 3975 | self.assertIn('(Pdb) 42', lines) |
| 3976 | |
| 3977 | def test_step_into_botframe(self): |
| 3978 | # gh-125422 |
| 3979 | # pdb should not be able to step into the botframe (bdb.py) |
| 3980 | script = "x = 1" |
| 3981 | commands = """ |
| 3982 | step |
| 3983 | step |
| 3984 | step |
| 3985 | quit |
| 3986 | """ |
| 3987 | stdout, _ = self.run_pdb_script(script, commands) |
| 3988 | self.assertIn("The program finished", stdout) |
| 3989 | self.assertNotIn("bdb.py", stdout) |
| 3990 | |
| 3991 | def test_pdbrc_basic(self): |
| 3992 | script = textwrap.dedent(""" |
nothing calls this directly
no test coverage detected