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
1620bc65
Commit
1620bc65
authored
Jan 10, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another adaptation for pypy tests
parent
948aa7d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
src/greentest/2.7pypy/test_threading.py
src/greentest/2.7pypy/test_threading.py
+5
-0
src/greentest/test__signal.py
src/greentest/test__signal.py
+9
-3
No files found.
src/greentest/2.7pypy/test_threading.py
View file @
1620bc65
...
...
@@ -18,6 +18,11 @@ try:
import
_testcapi
except
ImportError
:
_testcapi
=
None
except
:
# gevent: a distutils.errors.LinkError is sometimes raised.
# It appears that it happens during concurrent test runs;
# some lib_pypy/_testcapimodule.o file is truncated
_testcapi
=
None
import
lock_tests
# gevent: use local copy
...
...
src/greentest/test__signal.py
View file @
1620bc65
...
...
@@ -46,7 +46,7 @@ if hasattr(signal, 'SIGALRM'):
sig
.
cancel
()
@
greentest
.
skipIf
(
greentest
.
PY3
and
greentest
.
CFFI_BACKEND
,
@
greentest
.
skipIf
(
greentest
.
PY3
and
greentest
.
CFFI_BACKEND
and
greentest
.
RUNNING_ON_CI
,
"https://bitbucket.org/cffi/cffi/issues/352/systemerror-returned-a-result-with-an"
)
@
greentest
.
ignores_leakcheck
def
test_reload
(
self
):
...
...
@@ -90,9 +90,15 @@ if hasattr(signal, 'SIGALRM'):
reload_module
(
site
)
except
TypeError
:
# Non-CFFI on Travis triggers this, for some reason,
# but only on 3.6, not 3.4 or 3.5, and not yet on 3.7
# but only on 3.6, not 3.4 or 3.5, and not yet on 3.7.
# The only module seen to trigger this is __main__, i.e., this module.
# This is hard to trigger in a virtualenv since it appears they
# install their own site.py, different from the one that ships with
# Python 3.6., and at least the version I have doesn't mess with
# __cached__
assert
greentest
.
PY36
assert
greentest
.
RUNNING_ON_CI
import
sys
for
m
in
set
(
sys
.
modules
.
values
()):
try
:
...
...
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