Skip to content

Commit 6ce1f76

Browse files
committed
fix: Skip fork and forkserver on win32
1 parent af38866 commit 6ce1f76

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

python/tests/test_pickle_multiprocessing.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,17 @@ def _skip_if_multiprocessing_unavailable():
8484
pytest.param(
8585
"fork",
8686
marks=pytest.mark.skipif(
87-
sys.platform == "darwin",
88-
reason="fork start method is unsafe with PyArrow/tokio on macOS",
87+
sys.platform in ("darwin", "win32"),
88+
reason="fork start method is not supported on Windows and unsafe with PyArrow/tokio on macOS",
89+
),
90+
),
91+
pytest.param(
92+
"forkserver",
93+
marks=pytest.mark.skipif(
94+
sys.platform == "win32",
95+
reason="forkserver start method is not supported on Windows",
8996
),
9097
),
91-
"forkserver",
9298
"spawn",
9399
]
94100

0 commit comments

Comments
 (0)