(self)
| 295 | return script_helper.assert_python_failure('-m', 'py_compile', *args) |
| 296 | |
| 297 | def test_stdin(self): |
| 298 | self.assertFalse(os.path.exists(self.cache_path)) |
| 299 | result = self.pycompilecmd('-', input=self.source_path) |
| 300 | self.assertEqual(result.returncode, 0) |
| 301 | self.assertEqual(result.stdout, b'') |
| 302 | self.assertEqual(result.stderr, b'') |
| 303 | self.assertTrue(os.path.exists(self.cache_path)) |
| 304 | |
| 305 | def test_with_files(self): |
| 306 | rc, stdout, stderr = self.pycompilecmd(self.source_path, self.source_path) |
nothing calls this directly
no test coverage detected