[issue3840] if TESTFN == /tmp/@test, some tests fail
R. David Murray added the comment: To clarify Colin's comment (we worked on this at the sprints), in 2.7 and later regrtest no longer will generate a TESTFN that starts with /tmp in any circumstance, so that includes cygwin. (Instead regrtest creates a temporary directory in which the tests are run.) So, indeed, this bug is now out of date. -- resolution: - out of date stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3840 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3840] if TESTFN == /tmp/@test, some tests fail
Colin Su added the comment: TESTFN will be in format @test_{pid}_tmp instead of @test right now. So it's not easy to have exactly the same name @test_{pid}_tmp in case if you put @test_{X}_tmp (for X in range(1,10)) so many files into the top folder. does it need to keep open anymore? -- nosy: +littleq0903 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3840 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3840] if TESTFN == /tmp/@test, some tests fail
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +r.david.murray priority: - normal stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3840 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3840] if TESTFN == /tmp/@test, some tests fail
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: Same happend in test_import.py too. test_support.TESTFN is /tmp/@test on cygwin This was false information. There was a directry named @test, so open(TESTFN, w+) in test_support.py failed, /tmp/@test was used instead. Several tests seem to assume TESTFN is relative path (filename?), so maybe should we use @test2 as TESTFN if @test is not writable and vise versa? (Or simply test fails if @test is not writable) -- title: test_urllib fails on cygwin - if TESTFN == /tmp/@test, some tests fail versions: -Python 2.5, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3840 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com