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

Michael Foord report at bugs.python.org
Mon Aug 2 21:37:23 CEST 2010


Michael Foord <michael at voidspace.org.uk> added the comment:

Yep:

test_post (__main__.CGIHTTPServerTestCase) ... Traceback (most recent call last):
  File "/private/var/folders/WD/WDk8J3uFE7OM9tRer5Oy4E+++TI/-Tmp-/tmp3KtUFW/cgi-bin/file2.py", line 2, in <module>
    import cgi
  File "/compile/release31-maint/Lib/cgi.py", line 34, in <module>
    from operator import attrgetter
ImportError: No module named operator
[28262 refs]
FAIL
test_url_collapse_path_split (__main__.CGIHTTPServerTestCase) ... ok

======================================================================
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'

----------------------------------------------------------------------
Ran 23 tests in 1.315s

FAILED (failures=1)
Traceback (most recent call last):
  File "Lib/test/test_httpservers.py", line 411, in <module>
    test_main()
  File "Lib/test/test_httpservers.py", line 405, in test_main
    CGIHTTPServerTestCase
  File "/compile/release31-maint/Lib/test/support.py", line 903, in run_unittest
    _run_suite(suite)
  File "/compile/release31-maint/Lib/test/support.py", line 886, in _run_suite
    raise TestFailed(err)
test.support.TestFailed: Traceback (most recent call last):
  File "Lib/test/test_httpservers.py", line 379, in test_post
AssertionError: b'' != b'1, python, 123456\n'

----------

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


More information about the Python-bugs-list mailing list