Remove unwanted changes in test_utils.py

This commit is contained in:
Braulio Valdivielso Martínez
2016-03-05 23:26:36 +01:00
parent 94d4818fde
commit c4abb4c9fb
+1 -2
View File
@@ -14,7 +14,6 @@ from requests.utils import (
from .compat import StringIO, cStringIO
class TestSuperLen:
@pytest.mark.parametrize(
@@ -152,6 +151,7 @@ class TestContentEncodingDetection:
'''.strip()
assert get_encodings_from_content(content) == ['HTML5', 'HTML4', 'XML']
USER = PASSWORD = "%!*'();:@&=+$,/?#[] "
ENCODED_USER = compat.quote(USER, '')
ENCODED_PASSWORD = compat.quote(PASSWORD, '')
@@ -229,4 +229,3 @@ def test_select_proxies(url, expected):
proxies = {'http': 'http://http.proxy',
'http://some.host': 'http://some.host.proxy'}
assert select_proxy(url, proxies) == expected