[New-bugs-announce] [issue3857] ImportError: No module named test.test_support
Winfried Plappert
report at bugs.python.org
Sat Sep 13 10:16:51 CEST 2008
New submission from Winfried Plappert <Winfried.Plappert at gmx.de>:
The following 2 line program fails under Python 2.6rc1:
Python 2.6b3 (r26b3:66303, Sep 8 2008, 13:45:13) [MSC v.1500 32 bit
(Intel)] on win32
as downloaded today (2008-09-13):
#---- start program ---
import urllib
fh = urllib.urlopen('http://bugs.python.org/')
#---- end program ---
with the messages:
Traceback (most recent call last):
File "bug.py", line 2, in <module>
fh = urllib.urlopen('http://bugs.python.org/')
File "d:\Python26\lib\urllib.py", line 87, in urlopen
return opener.open(url)
File "d:\Python26\lib\urllib.py", line 203, in open
return getattr(self, name)(url)
File "d:\Python26\lib\urllib.py", line 285, in open_http
import httplib
File "d:\Python26\lib\httplib.py", line 72, in <module>
from test.test_support import catch_warning
ImportError: No module named test.test_support
The program works fine on Python 2.5
----------
components: Library (Lib)
messages: 73169
nosy: wplappert
severity: normal
status: open
title: ImportError: No module named test.test_support
type: crash
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3857>
_______________________________________
More information about the New-bugs-announce
mailing list