This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients brett.cannon, serhiy.storchaka, vstinner
Date 2016-02-05.09:38:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454665125.97.0.0819805126887.issue26295@psf.upfronthosting.co.za>
In-reply-to
Content
> 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 :-)
History
Date User Action Args
2016-02-05 09:38:46vstinnersetrecipients: + vstinner, brett.cannon, serhiy.storchaka
2016-02-05 09:38:45vstinnersetmessageid: <1454665125.97.0.0819805126887.issue26295@psf.upfronthosting.co.za>
2016-02-05 09:38:45vstinnerlinkissue26295 messages
2016-02-05 09:38:45vstinnercreate