mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Merge 3.3, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
This commit is contained in:
commit
16b5c13668
13 changed files with 40 additions and 38 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue