Home | History | Annotate | Download | only in test

Lines Matching refs:py_compile

3 import py_compile
37 py_compile.compile(self.source_path, self.pyc_path)
51 py_compile.compile(self.source_path, self.pyc_path)
59 py_compile.compile(self.source_path, os.devnull)
62 py_compile.compile(self.source_path)
67 py_compile.compile(os.path.basename(self.source_path),
73 py_compile.compile(os.path.relpath(self.source_path),
90 py_compile.compile(self.source_path, self.pyc_path)
97 self.assertIsNone(py_compile.compile(bad_coding, doraise=False))
104 # py_compile foo.bar.py -> __pycache__/foo.cpython-34.pyc
117 py_compile.compile(weird_path)
123 self.assertIn('opt-2', py_compile.compile(self.source_path, optimize=2))