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.
This commit is contained in:
Alexander Larsson committed 2016-08-10 16:24:18 +02:00
1 parent 006d9a1927
commit 9c57a5751e
9 files changed
+173

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/python2
import importme
print importme.foo