New submission from Michael Foord <[email protected]>:
A failure in test_httpservers.py on 31-maint (not failing in py3k) on Mac OS X
10.6.3:
test_post (__main__.CGIHTTPServerTestCase) ... Traceback (most recent call
last):
File
"/private/var/folders/WD/WDk8J3uFE7OM9tRer5Oy4E+++TI/-Tmp-/tmpv_ZniR/cgi-bin/file2.py",
line 2, in <module>
import cgi
File "/compile/py-31-maint/Lib/cgi.py", line 34, in <module>
from operator import attrgetter
ImportError: No module named operator
[28226 refs]
FAIL
======================================================================
FAIL: test_post (__main__.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_httpservers.py", line 379, in test_post
AssertionError: b'' != b'1, python, 123456\n'
Interesting to see the import error during the test. Running python and
executing "import operator" works fine.
----------
messages: 104711
nosy: michael.foord
priority: normal
severity: normal
stage: needs patch
status: open
title: test_httpservers.CGIHTTPServerTestCase failure on 3.1-maint Mac OS X
versions: Python 3.1
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8590>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com