(self)
| 4647 | self.assertIn('-> def func():', stdout, "stack entry not found") |
| 4648 | |
| 4649 | def test_empty_file(self): |
| 4650 | script = '' |
| 4651 | commands = 'q\n' |
| 4652 | # We check that pdb stopped at line 0, but anything reasonable |
| 4653 | # is acceptable here, as long as it does not halt |
| 4654 | stdout, _ = self.run_pdb_script(script, commands) |
| 4655 | self.assertIn('main.py(0)', stdout) |
| 4656 | stdout, _ = self.run_pdb_module(script, commands) |
| 4657 | self.assertIn('__main__.py(0)', stdout) |
| 4658 | |
| 4659 | def test_non_utf8_encoding(self): |
| 4660 | script_dir = os.path.join(os.path.dirname(__file__), 'encoded_modules') |
nothing calls this directly
no test coverage detected