Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cbd1e58f
Commit
cbd1e58f
authored
Oct 17, 2010
by
Gregory P. Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for netbsd.
parent
08167ddf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Lib/test/test_socket.py
Lib/test/test_socket.py
+4
-2
No files found.
Lib/test/test_socket.py
View file @
cbd1e58f
...
@@ -362,8 +362,10 @@ class GeneralModuleTests(unittest.TestCase):
...
@@ -362,8 +362,10 @@ class GeneralModuleTests(unittest.TestCase):
# Find one service that exists, then check all the related interfaces.
# Find one service that exists, then check all the related interfaces.
# I've ordered this by protocols that have both a tcp and udp
# I've ordered this by protocols that have both a tcp and udp
# protocol, at least for modern Linuxes.
# protocol, at least for modern Linuxes.
if
sys
.
platform
in
(
'linux2'
,
'freebsd4'
,
'freebsd5'
,
'freebsd6'
,
if
(
sys
.
platform
.
startswith
(
'linux'
)
or
'freebsd7'
,
'freebsd8'
,
'darwin'
):
sys
.
platform
.
startswith
(
'freebsd'
)
or
sys
.
platform
.
startswith
(
'netbsd'
)
or
sys
.
platform
==
'darwin'
):
# avoid the 'echo' service on this platform, as there is an
# avoid the 'echo' service on this platform, as there is an
# assumption breaking non-standard port/protocol entry
# assumption breaking non-standard port/protocol entry
services
=
(
'daytime'
,
'qotd'
,
'domain'
)
services
=
(
'daytime'
,
'qotd'
,
'domain'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment