(self)
| 319 | self.assertIn(b'SyntaxError', stderr) |
| 320 | |
| 321 | def test_bad_syntax_with_quiet(self): |
| 322 | bad_syntax = os.path.join(os.path.dirname(__file__), |
| 323 | 'tokenizedata', |
| 324 | 'badsyntax_3131.py') |
| 325 | rc, stdout, stderr = self.pycompilecmd_failure('-q', bad_syntax) |
| 326 | self.assertEqual(rc, 1) |
| 327 | self.assertEqual(stdout, b'') |
| 328 | self.assertEqual(stderr, b'') |
| 329 | |
| 330 | def test_file_not_exists(self): |
| 331 | should_not_exists = os.path.join(os.path.dirname(__file__), 'should_not_exists.py') |
nothing calls this directly
no test coverage detected