(self)
| 4189 | self.assertTrue(all("SUCCESS" not in l for l in stdout.splitlines()), stdout) |
| 4190 | |
| 4191 | def test_run_pdb_with_pdb(self): |
| 4192 | commands = """ |
| 4193 | c |
| 4194 | quit |
| 4195 | """ |
| 4196 | stdout, stderr = self._run_pdb(["-m", "pdb"], commands) |
| 4197 | self.assertIn( |
| 4198 | pdb._usage, |
| 4199 | stdout.replace('\r', '') # remove \r for windows |
| 4200 | ) |
| 4201 | |
| 4202 | def test_module_without_a_main(self): |
| 4203 | module_name = 't_main' |