summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorMike <mehanig@gmail.com>2017-12-14 11:04:53 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2017-12-14 11:04:53 (GMT)
commit53f7a7c2814fbfd8a29200926601a32fa48bacb3 (patch)
tree4f74255b4cf6af46480b3e48bdc2411dfede9e15 /Lib/test/test_socket.py
parent5364b5cd7571f2dfa75acd37b388c14ac33fef73 (diff)
downloadcpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.zip
cpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.tar.gz
cpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.tar.bz2
bpo-32297: Few misspellings found in Python source code comments. (#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
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 b97a768..5b4c5f9 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -1444,7 +1444,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')
@@ -4399,7 +4399,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)