Skip threading tests for pypy builds of pycapnp

This commit is contained in:
Jason Paryani
2014-10-27 15:30:57 -07:00
parent f69d7e13f6
commit 1663ef8c61

View File

@@ -5,7 +5,7 @@ import socket
import threading import threading
import platform import platform
@pytest.mark.skipif(platform.python_implementation() == 'PyPy', reason="pycapnp's GIL handling isn't working properly at the moment for PyPy")
def test_making_event_loop(): def test_making_event_loop():
capnp.remove_event_loop(True) capnp.remove_event_loop(True)
capnp.create_event_loop() capnp.create_event_loop()
@@ -13,7 +13,7 @@ def test_making_event_loop():
capnp.remove_event_loop() capnp.remove_event_loop()
capnp.create_event_loop() capnp.create_event_loop()
@pytest.mark.skipif(platform.python_implementation() == 'PyPy', reason="pycapnp's GIL handling isn't working properly at the moment for PyPy")
def test_making_threaded_event_loop(): def test_making_threaded_event_loop():
capnp.remove_event_loop(True) capnp.remove_event_loop(True)
capnp.create_event_loop(True) capnp.create_event_loop(True)