Skip to content

Commit 23062f7

Browse files
authored
fix: Skip fork and forkserver on win32 (#1566)
* fix: Skip fork and forkserver on win32 * Fix fmt
1 parent 4a77617 commit 23062f7

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

python/tests/test_pickle_multiprocessing.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,18 @@ 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 "
89+
"and unsafe with PyArrow/tokio on macOS",
90+
),
91+
),
92+
pytest.param(
93+
"forkserver",
94+
marks=pytest.mark.skipif(
95+
sys.platform == "win32",
96+
reason="forkserver start method is not supported on Windows",
8997
),
9098
),
91-
"forkserver",
9299
"spawn",
93100
]
94101

0 commit comments

Comments
 (0)