summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2018-04-20 20:08:45 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2018-04-20 20:08:45 (GMT)
commit61f82e0e337f971da57f8f513abfe693edf95aa5 (patch)
treed783b7677df1f57618381c0b7c925a990a115444 /Lib/test
parent0399cf9b5e370516e3d0aed6a63ff74aff5eadb5 (diff)
downloadcpython-61f82e0e337f971da57f8f513abfe693edf95aa5.zip
cpython-61f82e0e337f971da57f8f513abfe693edf95aa5.tar.gz
cpython-61f82e0e337f971da57f8f513abfe693edf95aa5.tar.bz2
Spelling fixes to docs, docstrings, and comments (GH-6374)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/_test_multiprocessing.py2
-rw-r--r--Lib/test/test__xxsubinterpreters.py2
-rw-r--r--Lib/test/test_socket.py2
-rw-r--r--Lib/test/test_strptime.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index 20185a9..8b6bc4b 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -1104,7 +1104,7 @@ class _TestQueue(BaseTestCase):
q = SafeQueue(ctx=multiprocessing.get_context())
q.put(not_serializable_obj)
- # Verify that q is still functionning correctly
+ # Verify that q is still functioning correctly
q.put(True)
self.assertTrue(q.get(timeout=1.0))
diff --git a/Lib/test/test__xxsubinterpreters.py b/Lib/test/test__xxsubinterpreters.py
index 397d359..4ef7771 100644
--- a/Lib/test/test__xxsubinterpreters.py
+++ b/Lib/test/test__xxsubinterpreters.py
@@ -1001,7 +1001,7 @@ class ChannelTests(TestBase):
interpreters.channel_recv(cid)
def test_drop_partially(self):
- # XXX Is partial close too wierd/confusing?
+ # XXX Is partial close too weird/confusing?
cid = interpreters.channel_create()
interpreters.channel_send(cid, None)
interpreters.channel_recv(cid)
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index bff1dc2..44501d9 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -5948,7 +5948,7 @@ class LinuxKernelCryptoAPI(unittest.TestCase):
@unittest.skipUnless(sys.platform.startswith("win"), "requires Windows")
class TestMSWindowsTCPFlags(unittest.TestCase):
knownTCPFlags = {
- # avaliable since long time ago
+ # available since long time ago
'TCP_MAXSEG',
'TCP_NODELAY',
# available starting with Windows 10 1607
diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py
index af71008..de2773f 100644
--- a/Lib/test/test_strptime.py
+++ b/Lib/test/test_strptime.py
@@ -363,7 +363,7 @@ class StrptimeTests(unittest.TestCase):
_strptime._strptime("-01:30:30:123456", "%z")
with self.assertRaises(ValueError) as err:
_strptime._strptime("-01:3030", "%z")
- self.assertEqual("Unconsistent use of : in -01:3030", str(err.exception))
+ self.assertEqual("Inconsistent use of : in -01:3030", str(err.exception))
def test_timezone(self):
# Test timezone directives.