[Python-Dev] testsuite with tmp/@test
brett at python.org
Tue Jan 13 19:30:11 CET 2009
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 test_support 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 test_import 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.
More information about the Python-Dev