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
c27ba917
Commit
c27ba917
authored
Oct 21, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test_threading_2.py on PyPy3 by disabling it.
parent
762b758d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/greentest/test_threading_2.py
src/greentest/test_threading_2.py
+2
-1
No files found.
src/greentest/test_threading_2.py
View file @
c27ba917
...
@@ -297,7 +297,8 @@ class ThreadTests(unittest.TestCase):
...
@@ -297,7 +297,8 @@ class ThreadTests(unittest.TestCase):
try
:
try
:
import
ctypes
import
ctypes
getattr
(
ctypes
,
'pythonapi'
)
# not available on PyPy
getattr
(
ctypes
,
'pythonapi'
)
# not available on PyPy
except
(
ImportError
,
AttributeError
):
getattr
(
ctypes
.
pythonapi
,
'PyGILState_Ensure'
)
# not available on PyPy3
except
(
ImportError
,
AttributeError
):
if
verbose
:
if
verbose
:
print
(
"test_finalize_with_runnning_thread can't import ctypes"
)
print
(
"test_finalize_with_runnning_thread can't import ctypes"
)
return
# can't do anything
return
# can't do anything
...
...
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