Re: [Python-Dev] python -m test.regrtest should pass on an installed python

2009-05-15 Thread Nick Coghlan
R. David Murray wrote: > So this posting is a general reminder that the tests should not make > assumptions about the writabilty of the test directory (or, for that > matter, of the CWD). Indeed - the tempfile module is very helpful in that regard. Cheers, Nick. -- Nick Coghlan | ncogh...@g

[Python-Dev] python -m test.regrtest should pass on an installed python

2009-05-14 Thread R. David Murray
For various reasons I happened to run 'python -m test.regrtest' on my Gentoo installed Python. For 2.5.4 only test_tarfile failed (it tries to write into the read-only installed test directory). On 2.6.2 test_tarfile passes, but other test suites, including test_distutils, do not. So this posti