[New-bugs-announce] [issue7648] test_urllib2 fails on Windows if not run from C:

Austin English report at bugs.python.org
Thu Jan 7 00:11:19 CET 2010


New submission from Austin English <austinenglish+python at gmail.com>:

Passes fine if run from C:, but when run from any other drive, fails:

test_trivial (__main__.TrivialTests) ... ERROR

======================================================================
ERROR: test_trivial (__main__.TrivialTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Python31\lib\urllib\request.py", line 1189, in open_local_file
    stats = os.stat(localfile)
WindowsError: [Error 3] The system cannot find the path specified: '\\Python31\\
lib\\urllib\\request.py'

----------
components: Windows
files: url.txt
messages: 97332
nosy: austin987
severity: normal
status: open
title: test_urllib2 fails on Windows if not run from C:
versions: Python 3.1
Added file: http://bugs.python.org/file15767/url.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7648>
_______________________________________


More information about the New-bugs-announce mailing list