diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:29:45 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:37:08 +1300 |
commit | a647b30365593a4a3056fcf6936f5441ab9eda88 (patch) | |
tree | 079b18790be5dfcc9a88f19e282b57088574d223 /test/netlib/http/test_response.py | |
parent | fb22f2ff4f75783ba786935c93b75f372ede21f5 (diff) | |
download | mitmproxy-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.py | 6 |
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. """ |