[issue3840] if TESTFN == "/tmp/@test", some tests fail
Hirokazu Yamamoto
report at bugs.python.org
Thu Sep 11 22:58:28 CEST 2008
Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> 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 <report at bugs.python.org>
<http://bugs.python.org/issue3840>
_______________________________________
More information about the Python-bugs-list
mailing list