Author: Manuel Jacob <[email protected]>
Branch: py3k
Changeset: r83153:dfc55771338b
Date: 2016-03-19 01:01 +0100
http://bitbucket.org/pypy/pypy/changeset/dfc55771338b/
Log: Fix test by using another file.
The tests are not as independent as they probably should be and
test_chmod / test_fchmod change the permissions of the file
previously used.
diff --git a/pypy/module/posix/test/test_posix2.py
b/pypy/module/posix/test/test_posix2.py
--- a/pypy/module/posix/test/test_posix2.py
+++ b/pypy/module/posix/test/test_posix2.py
@@ -987,7 +987,7 @@
if hasattr(os, 'ftruncate'):
def test_truncate(self):
posix = self.posix
- dest = self.path
+ dest = self.path2
def mkfile(dest, size=4):
with open(dest, 'wb') as f:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit