Skip to content

Commit de37f41

Browse files
committed
Skip more subprocess tests on Android
1 parent 26a85bb commit de37f41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_gil_scoped.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ def _intentional_deadlock():
168168

169169

170170
def _run_in_process(target, *args, **kwargs):
171+
if env.ANDROID or env.IOS or sys.platform.startswith("emscripten"):
172+
pytest.skip("Requires subprocess support")
173+
171174
test_fn = target if len(args) == 0 else args[0]
172175
# Do not need to wait much, 10s should be more than enough.
173176
timeout = 0.1 if test_fn is _intentional_deadlock else 10

0 commit comments

Comments
 (0)