aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http/test_response.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/netlib/http/test_response.py')
-rw-r--r--test/netlib/http/test_response.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/netlib/http/test_response.py b/test/netlib/http/test_response.py
index 5440176c..37273541 100644
--- a/test/netlib/http/test_response.py
+++ b/test/netlib/http/test_response.py
@@ -13,7 +13,7 @@ from .test_message import _test_passthrough_attr, _test_decoded_attr
class TestResponseData(object):
def test_init(self):
- with raises(ValueError if six.PY2 else TypeError):
+ with raises(ValueError):
tresp(headers="foobar")
assert isinstance(tresp(headers=None).headers, Headers)