[New-bugs-announce] [issue8590] test_httpservers.CGIHTTPServerTestCase failure on 3.1-maint Mac OS X

Michael Foord report at bugs.python.org
Sat May 1 13:36:08 CEST 2010


New submission from Michael Foord <michael at voidspace.org.uk>:

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 <report at bugs.python.org>
<http://bugs.python.org/issue8590>
_______________________________________


More information about the New-bugs-announce mailing list