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
0da2329e
Commit
0da2329e
authored
Mar 16, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The refcount failure under pypy is benign and fixed with a call to gc.
parent
d7b5c9fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
greentest/test__refcount.py
greentest/test__refcount.py
+4
-1
known_failures.py
known_failures.py
+0
-1
No files found.
greentest/test__refcount.py
View file @
0da2329e
...
...
@@ -25,7 +25,6 @@ are not leaked by the hub.
from
__future__
import
print_function
from
_socket
import
socket
class
Socket
(
socket
):
"Something we can have a weakref to"
...
...
@@ -104,6 +103,10 @@ def run_interaction(run_client):
def
run_and_check
(
run_client
):
w
=
run_interaction
(
run_client
=
run_client
)
if
greentest
.
PYPY
:
# PyPy doesn't use a strict ref counting and must
# run a gc, but the object should be gone
gc
.
collect
()
if
w
():
print
(
pformat
(
gc
.
get_referrers
(
w
())))
for
x
in
gc
.
get_referrers
(
w
()):
...
...
known_failures.py
View file @
0da2329e
...
...
@@ -79,7 +79,6 @@ if PYPY:
# No idea!
'test__backdoor.py'
,
'test__refcount.py'
,
'test__server.py'
,
'test_subprocess.py'
,
# test_executable_without_cwd
'FLAKY test___example_servers.py'
,
...
...
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