summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-11 21:57:08 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-11 21:57:08 (GMT)
commitc30b7b16ea03ad094917615940cd1a9ef53c4904 (patch)
tree6c3f56533f33d2be19d9bf1cc7bc659eb005959b /Lib/test/test_socket.py
parent0158af38b73b76516f18b1774e1c590f459cb188 (diff)
downloadcpython-c30b7b16ea03ad094917615940cd1a9ef53c4904.zip
cpython-c30b7b16ea03ad094917615940cd1a9ef53c4904.tar.gz
cpython-c30b7b16ea03ad094917615940cd1a9ef53c4904.tar.bz2
Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r--Lib/test/test_socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 5573421..4ecab95 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -442,7 +442,7 @@ class GeneralModuleTests(unittest.TestCase):
# Try same call with optional protocol omitted
port2 = socket.getservbyname(service)
eq(port, port2)
- # Try udp, but don't barf it it doesn't exist
+ # Try udp, but don't barf if it doesn't exist
try:
udpport = socket.getservbyname(service, 'udp')
except socket.error: