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
99f1e994
Commit
99f1e994
authored
Oct 22, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unreproducible test failures on PyPy3 an CI
parent
6e28fd80
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
src/greentest/greentest.py
src/greentest/greentest.py
+8
-0
src/greentest/known_failures.py
src/greentest/known_failures.py
+8
-0
src/greentest/test__refcount.py
src/greentest/test__refcount.py
+2
-1
No files found.
src/greentest/greentest.py
View file @
99f1e994
...
@@ -113,6 +113,14 @@ else:
...
@@ -113,6 +113,14 @@ else:
return
f
return
f
return
dec
return
dec
if
PYPY
and
PY3
and
RUNNING_ON_CI
:
# Same as above, for PyPy3.3-5.5-alpha
skipOnPyPy3OnCI
=
unittest
.
skip
else
:
def
skipOnPyPy3OnCI
(
reason
):
def
dec
(
f
):
return
f
return
dec
class
ExpectedException
(
Exception
):
class
ExpectedException
(
Exception
):
"""An exception whose traceback should be ignored"""
"""An exception whose traceback should be ignored"""
...
...
src/greentest/known_failures.py
View file @
99f1e994
...
@@ -158,6 +158,14 @@ if PYPY:
...
@@ -158,6 +158,14 @@ if PYPY:
]
]
if
PY3
and
TRAVIS
:
FAILING_TESTS
+=
[
## ---
## Unknown; can't reproduce locally on OS X
'FLAKY test_subprocess.py'
,
# timeouts on one test.
]
if
PY26
:
if
PY26
:
FAILING_TESTS
+=
[
FAILING_TESTS
+=
[
...
...
src/greentest/test__refcount.py
View file @
99f1e994
...
@@ -136,7 +136,8 @@ def run_and_check(run_client):
...
@@ -136,7 +136,8 @@ def run_and_check(run_client):
raise
AssertionError
(
'server should be dead by now'
)
raise
AssertionError
(
'server should be dead by now'
)
@
greentest
.
skipOnAppVeyor
(
"Often fail with timeouts; not sure why"
)
@
greentest
.
skipOnAppVeyor
(
"Often fail with timeouts; not sure why."
)
@
greentest
.
skipOnPyPy3OnCI
(
"Often fails with timeouts; not sure why."
)
class
Test
(
greentest
.
TestCase
):
class
Test
(
greentest
.
TestCase
):
def
test_clean_exit
(
self
):
def
test_clean_exit
(
self
):
...
...
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