[issue23442] http.client.REQUEST_HEADER_FIELDS_TOO_LARGE renamed in 3.5

Berker Peksag report at bugs.python.org
Thu Feb 12 23:27:17 CET 2015


Berker Peksag added the comment:

Here is a test case.

======================================================================
FAIL: test_client_constants (test.test_httplib.OfflineTest) (constant='REQUESTED_RANGE_NOT_SATISFIABLE')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/berker/projects/cpython/default/Lib/test/test_httplib.py", line 985, in test_client_constants
    self.assertTrue(hasattr(client, const))
AssertionError: False is not true

======================================================================
FAIL: test_client_constants (test.test_httplib.OfflineTest) (constant='REQUEST_HEADER_FIELDS_TOO_LARGE')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/berker/projects/cpython/default/Lib/test/test_httplib.py", line 985, in test_client_constants
    self.assertTrue(hasattr(client, const))
AssertionError: False is not true

----------
Added file: http://bugs.python.org/file38119/httpstatus_tests.diff

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


More information about the Python-bugs-list mailing list