Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
c481e1ba
Commit
c481e1ba
authored
Mar 16, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test_socket.py for 3.4
parent
17a1c4a7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5203 additions
and
14 deletions
+5203
-14
greentest/3.4/test_socket.py
greentest/3.4/test_socket.py
+5180
-0
greentest/patched_tests_setup.py
greentest/patched_tests_setup.py
+23
-14
No files found.
greentest/3.4/test_socket.py
0 → 100644
View file @
c481e1ba
This source diff could not be displayed because it is too large. You can
view the blob
instead.
greentest/patched_tests_setup.py
View file @
c481e1ba
...
@@ -371,20 +371,6 @@ if sys.version_info[:2] >= (3, 4):
...
@@ -371,20 +371,6 @@ if sys.version_info[:2] >= (3, 4):
# libev limits the number of events it will return at once. Specifically,
# libev limits the number of events it will return at once. Specifically,
# on linux with epoll, it returns a max of 64 (ev_epoll.c).
# on linux with epoll, it returns a max of 64 (ev_epoll.c).
]
if
os
.
environ
.
get
(
'TRAVIS'
)
==
'true'
:
disabled_tests
+=
[
'test_subprocess.ProcessTestCase.test_double_close_on_error'
,
# This test is racy or OS-dependent. It passes locally (sufficiently fast machine)
# but fails under Travis
]
if
sys
.
version_info
[:
2
]
>=
(
3
,
5
):
disabled_tests
+=
[
# XXX: Hangs
'test_ssl.ThreadedTests.test_nonblocking_send'
,
'test_ssl.ThreadedTests.test_socketserver'
,
# XXX: Hangs (Linux only)
# XXX: Hangs (Linux only)
'test_socket.NonBlockingTCPTests.testInitNonBlocking'
,
'test_socket.NonBlockingTCPTests.testInitNonBlocking'
,
# We don't handle the Linux-only SOCK_NONBLOCK option
# We don't handle the Linux-only SOCK_NONBLOCK option
...
@@ -408,6 +394,29 @@ if sys.version_info[:2] >= (3, 5):
...
@@ -408,6 +394,29 @@ if sys.version_info[:2] >= (3, 5):
'test_socket.GeneralModuleTests.test_str_for_enums'
,
'test_socket.GeneralModuleTests.test_str_for_enums'
,
'test_socket.GeneralModuleTests.testGetaddrinfo'
,
'test_socket.GeneralModuleTests.testGetaddrinfo'
,
# XXX: These all produce timeout errors that aren't supposed to
# be there. Needs investigation.
'test_socket.InterruptedRecvTimeoutTest.testInterruptedRecvIntoTimeout'
,
'test_socket.InterruptedRecvTimeoutTest.testInterruptedRecvTimeout'
,
'test_socket.InterruptedRecvTimeoutTest.testInterruptedRecvfromIntoTimeout'
,
'test_socket.InterruptedRecvTimeoutTest.testInterruptedRecvfromTimeout'
,
'test_socket.InterruptedRecvTimeoutTest.testInterruptedSendTimeout'
,
'test_socket.InterruptedRecvTimeoutTest.testInterruptedSendtoTimeout'
,
]
if
os
.
environ
.
get
(
'TRAVIS'
)
==
'true'
:
disabled_tests
+=
[
'test_subprocess.ProcessTestCase.test_double_close_on_error'
,
# This test is racy or OS-dependent. It passes locally (sufficiently fast machine)
# but fails under Travis
]
if
sys
.
version_info
[:
2
]
>=
(
3
,
5
):
disabled_tests
+=
[
# XXX: Hangs
'test_ssl.ThreadedTests.test_nonblocking_send'
,
'test_ssl.ThreadedTests.test_socketserver'
,
# Relies on the regex of the repr having the locked state (TODO: it'd be nice if
# Relies on the regex of the repr having the locked state (TODO: it'd be nice if
# we did that).
# we did that).
# XXX: These are commented out in the source code of test_threading because
# XXX: These are commented out in the source code of test_threading because
...
...
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