diff --git a/setup.py b/setup.py index 49003f7..d81ac6a 100755 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ except: setuptools.setup( name='warcprox', - version='2.2.1b2.dev122', + version='2.2.1b2.dev123', description='WARC writing MITM HTTP/S proxy', url='https://github.com/internetarchive/warcprox', author='Noah Levitt', diff --git a/tests/test_warcprox.py b/tests/test_warcprox.py index 5f426fc..5afd906 100755 --- a/tests/test_warcprox.py +++ b/tests/test_warcprox.py @@ -1653,12 +1653,12 @@ def test_empty_response( url = 'http://localhost:%s/empty-response' % http_daemon.server_port response = requests.get(url, proxies=archiving_proxies, verify=False) assert response.status_code == 502 - assert response.reason == 'Remote end closed connection without response' + # this is the reason in python >= 3.5 but not in 3.4 and 2.7 + # assert response.reason == 'Remote end closed connection without response' url = 'https://localhost:%s/empty-response' % https_daemon.server_port response = requests.get(url, proxies=archiving_proxies, verify=False) assert response.status_code == 502 - assert response.reason == 'Remote end closed connection without response' def test_payload_digest(warcprox_, http_daemon): '''