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