(self)
| 310 | self.assertTrue(os.path.exists(self.cache_path)) |
| 311 | |
| 312 | def test_bad_syntax(self): |
| 313 | bad_syntax = os.path.join(os.path.dirname(__file__), |
| 314 | 'tokenizedata', |
| 315 | 'badsyntax_3131.py') |
| 316 | rc, stdout, stderr = self.pycompilecmd_failure(bad_syntax) |
| 317 | self.assertEqual(rc, 1) |
| 318 | self.assertEqual(stdout, b'') |
| 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__), |
nothing calls this directly
no test coverage detected