[issue26295] Random failures when running test suite in parallel (-m test -j0) caused by test_regrtest

STINNER Victor report at bugs.python.org
Fri Feb 5 04:38:45 EST 2016


STINNER Victor added the comment:

> The directory with test files can be read-only.

test_regrtest skips tests which requires to write in Lib/test/ if the write fails.

        except PermissionError as exc:
            if not sysconfig.is_python_build():
                self.skipTest("cannot write %s: %s" % (path, exc))

> test_regrtest should use temporary directory.

Yes! That's the purpose of this issue!

But I was unable to find a technical solution to implement this. I need to try harder :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26295>
_______________________________________


More information about the Python-bugs-list mailing list