From a647b30365593a4a3056fcf6936f5441ab9eda88 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 17 Oct 2016 17:29:45 +1300 Subject: python3: clean up class brackets --- test/netlib/http/test_request.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/netlib/http/test_request.py') diff --git a/test/netlib/http/test_request.py b/test/netlib/http/test_request.py index bcb1cc43..e091f280 100644 --- a/test/netlib/http/test_request.py +++ b/test/netlib/http/test_request.py @@ -6,7 +6,7 @@ from netlib.tutils import treq, raises from .test_message import _test_decoded_attr, _test_passthrough_attr -class TestRequestData(): +class TestRequestData: def test_init(self): with raises(ValueError): treq(headers="foobar") @@ -14,7 +14,7 @@ class TestRequestData(): assert isinstance(treq(headers=()).headers, Headers) -class TestRequestCore(): +class TestRequestCore: """ Tests for builtins and the attributes that are directly proxied from the data structure """ @@ -92,7 +92,7 @@ class TestRequestCore(): assert request.headers["Host"] == "example.org" -class TestRequestUtils(): +class TestRequestUtils: """ Tests for additional convenience methods. """ -- cgit v1.2.3