Commit e88e6ce8 authored by Brett Cannon's avatar Brett Cannon

Fix a comment to state the right thing.

parent 26486ea2
...@@ -153,10 +153,9 @@ class ImportTests(unittest.TestCase): ...@@ -153,10 +153,9 @@ class ImportTests(unittest.TestCase):
f.write('"",\n') f.write('"",\n')
f.write(']') f.write(']')
# Compile & remove .py file, we only need .pyc (or .pyo), but that # Compile & remove .py file; we only need .pyc (or .pyo).
# must be relocated to the PEP 3147 bytecode-only location. # Bytecode must be relocated from the PEP 3147 bytecode-only location.
with open(filename, 'r') as f: py_compile.compile(filename)
py_compile.compile(filename)
unlink(filename) unlink(filename)
make_legacy_pyc(filename) make_legacy_pyc(filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment