Skip to content
Myr

Fix styling issues with add timeout to stream with testing

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

authored by cjstapleton · committed by cjstapleton · parent 930f03c · Browse files · 1 file+1 added−2 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+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:test_requests.py+1 added-2 removed
1168 unmodified lines
1169 morsel['max-age'] = 'woops'1170 with pytest.raises(TypeError):1171 morsel_to_cookie(morsel)117211731174class TestTimeout:1175 def test_stream_timeout(self):1176 try:1177 r = requests.get('https://httpbin.org/delay/10', timeout=5.0)
2 unmodified lines
118011811182if __name__ == '__main__':1183 unittest.main()11831184