aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http/test_response.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-10-17 17:29:45 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-10-17 17:37:08 +1300
commita647b30365593a4a3056fcf6936f5441ab9eda88 (patch)
tree079b18790be5dfcc9a88f19e282b57088574d223 /test/netlib/http/test_response.py
parentfb22f2ff4f75783ba786935c93b75f372ede21f5 (diff)
downloadmitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.gz
mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.bz2
mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.zip
python3: clean up class brackets
Diffstat (limited to 'test/netlib/http/test_response.py')
-rw-r--r--test/netlib/http/test_response.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/netlib/http/test_response.py b/test/netlib/http/test_response.py
index 6ab043c1..66d6e307 100644
--- a/test/netlib/http/test_response.py
+++ b/test/netlib/http/test_response.py
@@ -11,7 +11,7 @@ from netlib.tutils import raises, tresp
from .test_message import _test_passthrough_attr, _test_decoded_attr
-class TestResponseData():
+class TestResponseData:
def test_init(self):
with raises(ValueError):
tresp(headers="foobar")
@@ -19,7 +19,7 @@ class TestResponseData():
assert isinstance(tresp(headers=()).headers, Headers)
-class TestResponseCore():
+class TestResponseCore:
"""
Tests for builtins and the attributes that are directly proxied from the data structure
"""
@@ -60,7 +60,7 @@ class TestResponseCore():
_test_decoded_attr(tresp(), "reason")
-class TestResponseUtils():
+class TestResponseUtils:
"""
Tests for additional convenience methods.
"""