Files
flatpak/tests/testpython.py
Alexander Larsson 9c57a5751e Add test for python .pyc/.pyo rewriting
This catches regressions in the fix in the previous commit, where old
stale .py[oc] files can wrongly become "unstale" when we change the
.py file mtime to 1.
2016-08-10 16:24:18 +02:00

5 lines
55 B
Python
Executable File

#!/usr/bin/python2
import importme
print importme.foo