Jason Vas Dias <jason.vas.d...@gmail.com> added the comment:

test_start_with_double_slash 
(test.test_httpservers.SimpleHTTPRequestHandlerTestCase) ... 
/usr/src/cpython/Lib/unittest/case.py:799: BytesWarning: str() on a bytes 
instance
  (i, item1, item2))
test test_httpservers failed -- multiple errors occurred
ok

======================================================================
FAIL: test_get (test.test_httpservers.SimpleHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 266, in test_get
    self.check_status_and_reason(response, 404)
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 242, in 
check_status_and_reason
    self.assertEqual(response.status, status)
AssertionError: 200 != 404

======================================================================
FAIL: test_authorization (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 427, in 
test_authorization
    (res.read(), res.getheader('Content-type'), res.status))
AssertionError: Tuples differ: (b'Hello World\n', 'text/html'... != (b'', None, 
200)

First differing element 0:
b'Hello World\n'
b''

- (b'Hello World\n', 'text/html', 200)
+ (b'', None, 200)

======================================================================
FAIL: test_headers_and_content (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 407, in 
test_headers_and_content
    (res.read(), res.getheader('Content-type'), res.status))
AssertionError: Tuples differ: (b'Hello World\n', 'text/html'... != (b'', None, 
200)

First differing element 0:
b'Hello World\n'
b''

- (b'Hello World\n', 'text/html', 200)
+ (b'', None, 200)

======================================================================
FAIL: test_no_leading_slash (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 433, in 
test_no_leading_slash
    (res.read(), res.getheader('Content-type'), res.status))
AssertionError: Tuples differ: (b'Hello World\n', 'text/html'... != (b'', None, 
200)

First differing element 0:
b'Hello World\n'
b''

- (b'Hello World\n', 'text/html', 200)
+ (b'', None, 200)

======================================================================
FAIL: test_os_environ_is_not_altered 
(test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 440, in 
test_os_environ_is_not_altered
    (res.read(), res.getheader('Content-type'), res.status))
AssertionError: Tuples differ: (b'Hello World\n', 'text/html'... != (b'', None, 
200)

First differing element 0:
b'Hello World\n'
b''

- (b'Hello World\n', 'text/html', 200)
+ (b'', None, 200)

======================================================================
FAIL: test_post (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 415, in test_post
    self.assertEqual(res.read(), b'1, python, 123456\n')
AssertionError: b'' != b'1, python, 123456\n'

----------------------------------------------------------------------
Ran 37 tests in 2.971s

FAILED (failures=6)
[147/354] test_imaplib
test_Internaldate2tuple (test.test_imaplib.TestImaplib) ... ok
test_that_Time2Internaldate_returns_a_result (test.test_imaplib.TestImaplib) 
... ok

----------------------------------------------------------------------
Ran 2 tests in 0.002s

OK
[148/354] test_imp

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11954>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to