Skip to content

Commit 3df427c

Browse files
committed
Skip tests for subprocess
1 parent a407438 commit 3df427c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_custom_type_setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import gc
44
import os
5+
import sys
56
import weakref
67

78
import pytest
@@ -51,6 +52,10 @@ def test_indirect_cycle(gc_tester):
5152
gc_tester(obj)
5253

5354

55+
@pytest.mark.skipif(
56+
env.IOS or sys.platform.startswith("emscripten"),
57+
reason="Requires subprocess support",
58+
)
5459
@pytest.mark.skipif("env.PYPY or env.GRAALPY")
5560
def test_py_cast_useable_on_shutdown():
5661
env.check_script_success_in_subprocess(

0 commit comments

Comments
 (0)