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
23ccf979
Commit
23ccf979
authored
Jan 18, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak some tests not to run with coverage
[skip appveyor]
parent
d020472d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/greentest/greentest/patched_tests_setup.py
src/greentest/greentest/patched_tests_setup.py
+14
-0
No files found.
src/greentest/greentest/patched_tests_setup.py
View file @
23ccf979
...
...
@@ -16,6 +16,8 @@ import re
from
greentest.sysinfo
import
RUNNING_ON_APPVEYOR
as
APPVEYOR
from
greentest.sysinfo
import
RUNNING_ON_TRAVIS
as
TRAVIS
from
greentest.sysinfo
import
RESOLVER_ARES
as
ARES
from
greentest.sysinfo
import
RUN_COVERAGE
from
greentest.sysinfo
import
PYPY
from
greentest.sysinfo
import
PYPY3
...
...
@@ -29,6 +31,7 @@ from greentest.sysinfo import WIN
from
greentest.sysinfo
import
OSX
from
greentest.sysinfo
import
LIBUV
from
greentest.sysinfo
import
CFFI_BACKEND
CPYTHON
=
not
PYPY
...
...
@@ -380,6 +383,17 @@ if LIBUV:
'test_subprocess.ProcessTestCase.test_universal_newlines_communicate'
,
]
if
RUN_COVERAGE
and
CFFI_BACKEND
:
disabled_tests
+=
[
# This test hangs in this combo for some reason
'test_socket.GeneralModuleTests.test_sendall_interrupted'
,
# This can get a timeout exception instead of the Alarm
'test_socket.TCPTimeoutTest.testInterruptedTimeout'
,
# This test sometimes gets the wrong answer (due to changed timing?)
'test_socketserver.SocketServerTest.test_ForkingUDPServer'
,
]
def
_make_run_with_original
(
mod_name
,
func_name
):
@
contextlib
.
contextmanager
def
with_orig
():
...
...
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