Skip to content
Myr

Changed whitespace in docstring

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Braulio Valdivielso Martínez · committed by Braulio Valdivielso Martínez · parent fa91b0a · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:test_requests.py+3 added-1 removed
1180 unmodified lines
1181 encodings = requests.utils.get_encodings_from_content(content)1182 assert encodings == ['HTML5', 'HTML4', 'XML']11831184 def test_chunked_upload(self):1185 """ can safely send generators """1185 """can safely send generators"""1186 block_server = threading.Event()1187 server = Server.basic_response_server(wait_to_close_event=block_server)1188 data = (i for i in [b'a', b'b', b'c']) 11891190 with server as (host, port):1191 url = 'http://{}:{}/'.format(host, port)1192 r = requests.post(url, data=data, stream=True)1193 block_server.set() # release server block11941195 assert r.status_code == 2001196 assert r.request.headers['Transfer-Encoding'] == 'chunked'11971198class TestCaseInsensitiveDict(unittest.TestCase):
680 unmodified lines