Skip to content

Commit 85fe2d7

Browse files
committed
Skip test_ident in Jython.
1 parent f42d77a commit 85fe2d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_thread_util.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ class TestIdent(unittest.TestCase):
5454
child's callback was not
5555
"""
5656
def _test_ident(self, use_greenlets):
57+
if 'java' in sys.platform:
58+
raise SkipTest("Can't rely on weakref callbacks in Jython")
59+
5760
ident = thread_util.create_ident(use_greenlets)
5861

5962
ids = set([ident.get()])

0 commit comments

Comments
 (0)