Commit b298f9f5 authored by Jason Madden's avatar Jason Madden

Disable some httplib tests for python 3.5.1 and older that were fixed in 3.5.2

parent 7f8b8a29
...@@ -528,6 +528,15 @@ if sys.version_info[:2] >= (3, 5): ...@@ -528,6 +528,15 @@ if sys.version_info[:2] >= (3, 5):
'test_socket.GeneralModuleTests.test_getnameinfo', 'test_socket.GeneralModuleTests.test_getnameinfo',
] ]
if sys.version_info[:3] <= (3, 5, 1):
# Python issue 26499 was fixed in 3.5.2 and these tests were added.
disabled_tests += [
'test_httplib.BasicTest.test_mixed_reads',
'test_httplib.BasicTest.test_read1_bound_content_length',
'test_httplib.BasicTest.test_read1_content_length',
'test_httplib.BasicTest.test_readline_bound_content_length',
'test_httplib.BasicTest.test_readlines_content_length',
]
if sys.version_info[:2] >= (3, 6): if sys.version_info[:2] >= (3, 6):
disabled_tests += [ disabled_tests += [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment