1 new commit in pytest: https://bitbucket.org/hpk42/pytest/commits/78def8dd5c94/ Changeset: 78def8dd5c94 User: drothlis Date: 2014-10-17 20:18:37+00:00 Summary: Fix assertion.rewrite on read-only filesystem Affected #: 1 file
diff -r 4696fc59a5a15f9c79902d34489865bf7f840b6c -r 78def8dd5c941ec312994f87fd31f8a422943879 _pytest/assertion/rewrite.py --- a/_pytest/assertion/rewrite.py +++ b/_pytest/assertion/rewrite.py @@ -122,7 +122,7 @@ # One of the path components was not a directory, likely # because we're in a zip file. write = False - elif e == errno.EACCES: + elif e in [errno.EACCES, errno.EROFS]: state.trace("read only directory: %r" % fn_pypath.dirname) write = False else: Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit