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
de600560
Commit
de600560
authored
Jun 25, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't let test__refcount_core be a failing test on PyPy. Fixes #390.
parent
9074af44
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
changelog.rst
changelog.rst
+3
-1
greentest/test__refcount_core.py
greentest/test__refcount_core.py
+10
-1
known_failures.py
known_failures.py
+0
-4
No files found.
changelog.rst
View file @
de600560
...
...
@@ -7,7 +7,9 @@ Changelog
Unreleased
----------
- Add support for Python 3.3 and 3.4.
- Add support for Python 3.3 and 3.4. Many people have contributed to
this effort, including but not limited to Fantix King, hashstat,
Elizabeth Myers, jander, Luke Woydziak, and others.
- Add support for PyPy.
- Drop support for Python 2.5. Python 2.5 users can continue to use
gevent 1.0.x.
...
...
greentest/test__refcount_core.py
View file @
de600560
...
...
@@ -10,4 +10,13 @@ assert weakref.ref(Dummy())() is None
from
gevent
import
socket
assert
weakref
.
ref
(
socket
.
socket
())()
is
None
try
:
assert
weakref
.
ref
(
socket
.
socket
())()
is
None
except
AssertionError
:
import
sys
if
hasattr
(
sys
,
'pypy_version_info'
):
# PyPy uses a non refcounted GC which may defer
# the collection of the weakref, unlike CPython
pass
else
:
raise
known_failures.py
View file @
de600560
...
...
@@ -56,10 +56,6 @@ if PYPY:
FAILING_TESTS
+=
[
# Different in PyPy:
# PyPy has no refcount
# http://pypy.readthedocs.org/en/latest/cpython_differences.html#differences-related-to-garbage-collection-strategies
'test__refcount_core.py'
,
# Not implemented:
# ---
...
...
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