Author: Armin Rigo <[email protected]>
Branch:
Changeset: r89490:6622cf362ad3
Date: 2017-01-11 12:52 +0100
http://bitbucket.org/pypy/pypy/changeset/6622cf362ad3/
Log: Test with /dev instead of /tmp
diff --git a/rpython/rlib/test/test_rposix_stat.py
b/rpython/rlib/test/test_rposix_stat.py
--- a/rpython/rlib/test/test_rposix_stat.py
+++ b/rpython/rlib/test/test_rposix_stat.py
@@ -29,7 +29,10 @@
check(os.environ['TEMP'])
else:
check('/')
- check('/tmp')
+ check('/dev')
+ # don't test with /tmp, because if another process is also
+ # creating files in /tmp it is more likely that the mtime
+ # we get during successive calls was actually changed
check(sys.executable)
def test_fstat(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit