Skip to content
Myr

Fix remaining typos (#7395)

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

authored by Dimitri Papadopoulos Orfanos · committed by GitHub · parent 6ec76b4 · Browse files · 2 files+2 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

2 files+2 added−2 removed

  • tests:+1 added−1 removed
  • other:+1 added−1 removed

2 files+2 added−2 removed

modified:src/requests/adapters.py+1 added-1 removed
399 unmodified lines
400 must both set ``"ssl_context"`` and based on what else they require,401 alter the other keys to ensure the desired behaviour.402403 :param request:404 The PreparedReqest being sent over the connection.404 The PreparedRequest being sent over the connection.405 :type request:406 :class:`~requests.models.PreparedRequest`407 :param verify:408 Either a boolean, in which case it controls whether
289 unmodified lines
modified:tests/test_requests.py+1 added-1 removed
584 unmodified lines
585 # Connecting to an unknown domain should raise a ConnectionError586 ("http://doesnotexist.google.com", ConnectionError),587 # Connecting to an invalid port should raise a ConnectionError588 ("http://localhost:1", ConnectionError),589 # Inputing a URL that cannot be parsed should raise an InvalidURL error589 # Inputting a URL that cannot be parsed should raise an InvalidURL error590 ("http://fe80::5054:ff:fe5a:fc0", InvalidURL),591 ),592 )593 def test_errors(self, url, exception):
2459 unmodified lines