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 <rep...@bugs.python.org> <http://bugs.python.org/issue23442> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com