This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients michael.foord
Date 2010-05-01.11:36:06
SpamBayes Score 2.9067603e-08
Marked as misclassified No
Message-id <1272713768.56.0.588560261666.issue8590@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-05-01 11:36:09michael.foordsetrecipients: + michael.foord
2010-05-01 11:36:08michael.foordsetmessageid: <1272713768.56.0.588560261666.issue8590@psf.upfronthosting.co.za>
2010-05-01 11:36:06michael.foordlinkissue8590 messages
2010-05-01 11:36:06michael.foordcreate