_make_rewritten_pyc doesn't need to return anything

This commit is contained in:
Benjamin Peterson 2011-07-25 21:42:57 -05:00
parent 643ab120f4
commit c5dee7b549
1 changed files with 0 additions and 1 deletions

View File

@ -205,7 +205,6 @@ def _make_rewritten_pyc(state, fn, pyc, co):
proc_pyc = pyc + "." + str(os.getpid())
if _write_pyc(co, fn, proc_pyc):
os.rename(proc_pyc, pyc)
return co
def _read_pyc(source, pyc):
"""Possibly read a py.test pyc containing rewritten code.