Merge pull request #45 from taoufik07/patch-1

Remove print
This commit is contained in:
Tom Christie 2019-05-08 16:37:41 +01:00 committed by GitHub
commit fc7a79a1ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,6 @@ def test_headers_decode_explicit_encoding():
raw_headers = [(b"Custom", "Code point: ☃".encode("utf-8"))]
headers = httpcore.Headers(raw_headers)
headers.encoding = "iso-8859-1"
print(headers)
assert dict(headers) == {"custom": "Code point: â\x98\x83"}
assert headers.encoding == "iso-8859-1"