A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-January/085019.html below:

[Python-Dev] testsuite with tmp/@test

[Python-Dev] testsuite with tmp/@test [Python-Dev] testsuite with tmp/@testBrett Cannon 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.

-Brett
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4