aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/http/cookiejar.py2
-rw-r--r--Lib/test/cfgparser.22
-rw-r--r--Lib/test/test_gdb.py2
-rw-r--r--Lib/unittest/test/test_discovery.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/http/cookiejar.py b/Lib/http/cookiejar.py
index 4466d2ece0d..6d4572af03e 100644
--- a/Lib/http/cookiejar.py
+++ b/Lib/http/cookiejar.py
@@ -833,7 +833,7 @@ class CookiePolicy:
May also modify cookies, though this is probably a bad idea.
The subclass DefaultCookiePolicy defines the standard rules for Netscape
- and RFC 2965 cookies -- override that if you want a customised policy.
+ and RFC 2965 cookies -- override that if you want a customized policy.
"""
def set_ok(self, cookie, request):
diff --git a/Lib/test/cfgparser.2 b/Lib/test/cfgparser.2
index 1646de8e654..cfcfef23bfd 100644
--- a/Lib/test/cfgparser.2
+++ b/Lib/test/cfgparser.2
@@ -129,7 +129,7 @@
# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers
-# Using the following line enables you to customise your configuration
+# Using the following line enables you to customize your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /etc/samba/smb.conf.%m
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index cd7d2925f47..33d7dc523a8 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -91,7 +91,7 @@ if not gdbpy_version:
raise unittest.SkipTest("gdb not built with embedded python support")
# Verify that "gdb" can load our custom hooks, as OS security settings may
-# disallow this without a customised .gdbinit.
+# disallow this without a customized .gdbinit.
_, gdbpy_errors = run_gdb('--args', sys.executable)
if "auto-loading has been declined" in gdbpy_errors:
msg = "gdb security settings prevent use of custom hooks: "
diff --git a/Lib/unittest/test/test_discovery.py b/Lib/unittest/test/test_discovery.py
index bb196e6997a..8f4017f6679 100644
--- a/Lib/unittest/test/test_discovery.py
+++ b/Lib/unittest/test/test_discovery.py
@@ -275,7 +275,7 @@ class TestDiscovery(unittest.TestCase):
self.assertEqual(Module.load_tests_args,
[(loader, [], 'test*.py')])
- def test_find_tests_customise_via_package_pattern(self):
+ def test_find_tests_customize_via_package_pattern(self):
# This test uses the example 'do-nothing' load_tests from
# https://docs.python.org/3/library/unittest.html#load-tests-protocol
# to make sure that that actually works.