diff options
Diffstat (limited to 'test/netlib/http/http1/test_read.py')
-rw-r--r-- | test/netlib/http/http1/test_read.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/netlib/http/http1/test_read.py b/test/netlib/http/http1/test_read.py index fb27857b..a768a722 100644 --- a/test/netlib/http/http1/test_read.py +++ b/test/netlib/http/http1/test_read.py @@ -104,7 +104,7 @@ def test_read_response_head(): assert rfile.read() == b"skip" -class TestReadBody(): +class TestReadBody: def test_chunked(self): rfile = BytesIO(b"3\r\nfoo\r\n0\r\n\r\nbar") body = b"".join(read_body(rfile, None)) @@ -289,7 +289,7 @@ def test_check_http_version(): _check_http_version(b"HTTP/1.b") -class TestReadHeaders(): +class TestReadHeaders: @staticmethod def _read(data): return _read_headers(BytesIO(data)) |