R
Richard Wesley
I am trying to set the mod date on a file (Linux) as part of a unit test
run. I can just wait one second, but that slows the test down. A
better solution would be to tweak the mod date on a file, but os.path
does not seem to have setmtime.
Is there any simple way to do this?
TIA,
run. I can just wait one second, but that slows the test down. A
better solution would be to tweak the mod date on a file, but os.path
does not seem to have setmtime.
Is there any simple way to do this?
TIA,