[Python-Dev] testsuite with tmp/@test (original) (raw)
Brett Cannon brett at python.org
Tue Jan 13 19:30:11 CET 2009
- Previous message: [Python-Dev] testsuite with tmp/@test
- Next message: [Python-Dev] Add Py_off_t and related APIs?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jan 13, 2009 at 06:09, Kristján Valur Jónsson <kristjan at ccpgames.com> wrote:
By accident i had a dir called @test in my PCBuild directory when I was running the testsuite.
This caused the testsupport to define TESTFN as tmp/@test.
This again caused a number of tests to fail. One issue I have already covered in http://bugs.python.org/issue4927 Another issue is testimport which doesn't like importing with filename. But a lot of tests fail because of incorrect path name delimeters and such. Shouldn't we try to make this work as well as possible even with a temp file that is in a subdirectory?
Yes.Use of TESTFN should assume it is a file but not know exactly where that file is kept.
-Brett
- Previous message: [Python-Dev] testsuite with tmp/@test
- Next message: [Python-Dev] Add Py_off_t and related APIs?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]