summaryrefslogtreecommitdiffstats
path: root/Lib/test/support
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-07-26 22:11:55 (GMT)
committerGitHub <noreply@github.com>2021-07-26 22:11:55 (GMT)
commit11749e2dc20ad6a76e9a39e948853e89b2b4bbed (patch)
tree7b370ec4036b21ae99ca0b46c1d82ac122f9d43f /Lib/test/support
parent6c7ec7282b68dcd0f3af0f1ccc6345da4bc06931 (diff)
downloadcpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.zip
cpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.tar.gz
cpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.tar.bz2
bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Lib/test/support')
-rw-r--r--Lib/test/support/__init__.py4
-rw-r--r--Lib/test/support/socket_helper.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
index cbdc23c..e2847d5 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: