summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2017-12-14 14:19:51 (GMT)
committerGitHub <noreply@github.com>2017-12-14 14:19:51 (GMT)
commit28453feaa8d88bbcbf6d834b1d5ca396d17265f2 (patch)
treee228f9ddb6795965d302e6d16c2e4bfb0b074d17 /Lib/test/test_socket.py
parent645fa19f15cddeec8d882a9e1420173e7516f0e4 (diff)
downloadcpython-28453feaa8d88bbcbf6d834b1d5ca396d17265f2.zip
cpython-28453feaa8d88bbcbf6d834b1d5ca396d17265f2.tar.gz
cpython-28453feaa8d88bbcbf6d834b1d5ca396d17265f2.tar.bz2
[3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864)
* [3.6] bpo-32297: Few misspellings found in Python source code comments. (GH-4803) * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py. (cherry picked from commit 53f7a7c2814fbfd8a29200926601a32fa48bacb3)
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r--Lib/test/test_socket.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index a79ebfe..0023762 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -1357,7 +1357,7 @@ class GeneralModuleTests(unittest.TestCase):
socket.gethostbyname(domain)
socket.gethostbyname_ex(domain)
socket.getaddrinfo(domain,0,socket.AF_UNSPEC,socket.SOCK_STREAM)
- # this may not work if the forward lookup choses the IPv6 address, as that doesn't
+ # this may not work if the forward lookup chooses the IPv6 address, as that doesn't
# have a reverse entry yet
# socket.gethostbyaddr('испытание.python.org')
@@ -4239,7 +4239,7 @@ class UnbufferedFileObjectClassTestCase(FileObjectClassTestCase):
self.write_file.write(self.write_msg)
self.write_file.flush()
self.evt2.set()
- # Avoid cloding the socket before the server test has finished,
+ # Avoid closing the socket before the server test has finished,
# otherwise system recv() will return 0 instead of EWOULDBLOCK.
self.serv_finished.wait(5.0)