diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-07-26 22:34:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 22:34:32 (GMT) |
commit | 6fc1efa4546ad94a904239fd5efb84e02894eb31 (patch) | |
tree | 0e7ca76239d3056cbf0d153179043b8f69c96296 /Lib/test/support | |
parent | 0ea5e0d792a85b435ef299319dcd52e59f535cb1 (diff) | |
download | cpython-6fc1efa4546ad94a904239fd5efb84e02894eb31.zip cpython-6fc1efa4546ad94a904239fd5efb84e02894eb31.tar.gz cpython-6fc1efa4546ad94a904239fd5efb84e02894eb31.tar.bz2 |
bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380)
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
(cherry picked from commit 11749e2dc20ad6a76e9a39e948853e89b2b4bbed)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'Lib/test/support')
-rw-r--r-- | Lib/test/support/__init__.py | 4 | ||||
-rw-r--r-- | Lib/test/support/socket_helper.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index 942d1f7..4a2ed1e 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -74,8 +74,8 @@ if sys.platform == 'win32' and ' 32 bit (ARM)' in sys.version: elif sys.platform == 'vxworks': LOOPBACK_TIMEOUT = 10 -# Timeout in seconds for network requests going to the Internet. The timeout is -# short enough to prevent a test to wait for too long if the Internet request +# Timeout in seconds for network requests going to the internet. The timeout is +# short enough to prevent a test to wait for too long if the internet request # is blocked for whatever reason. # # Usually, a timeout using INTERNET_TIMEOUT should not mark a test as failed, diff --git a/Lib/test/support/socket_helper.py b/Lib/test/support/socket_helper.py index e78712b..b516773 100644 --- a/Lib/test/support/socket_helper.py +++ b/Lib/test/support/socket_helper.py @@ -189,7 +189,7 @@ _NOT_SET = object() @contextlib.contextmanager def transient_internet(resource_name, *, timeout=_NOT_SET, errnos=()): """Return a context manager that raises ResourceDenied when various issues - with the Internet connection manifest themselves as exceptions.""" + with the internet connection manifest themselves as exceptions.""" import nntplib import urllib.error if timeout is _NOT_SET: |