def METHOD_NAME(self):
    bad_coding = os.path.join(os.path.dirname(__file__), 'bad_coding2.py')
    with support.captured_stderr():
        self.assertIsNone(py_compile.compile(bad_coding, doraise=False))
    self.assertFalse(os.path.exists(
        importlib.util.cache_from_source(bad_coding)))