summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-11 21:59:07 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-11 21:59:07 (GMT)
commit16b5c13668b0fe0ecb2265b6d6968d3da5ca10ba (patch)
tree794a55c65c29332c5994e97428d4ee96d1f5256b /Lib/test/test_socket.py
parent16c41d8520b7993cffa576f9021ff712d80ab825 (diff)
parent98472b839674a78b0cbb09f50a61f70019591a4a (diff)
downloadcpython-16b5c13668b0fe0ecb2265b6d6968d3da5ca10ba.zip
cpython-16b5c13668b0fe0ecb2265b6d6968d3da5ca10ba.tar.gz
cpython-16b5c13668b0fe0ecb2265b6d6968d3da5ca10ba.tar.bz2
Merge 3.3, 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 19377d0..d4ea43a 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -872,7 +872,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 OSError: