This is an automated email from the ASF dual-hosted git repository.

timsaucer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-python.git


The following commit(s) were added to refs/heads/main by this push:
     new 23062f78 fix: Skip `fork` and `forkserver` on `win32` (#1566)
23062f78 is described below

commit 23062f78ad55a7121517c5ab00742503e95c7342
Author: Nuno Faria <[email protected]>
AuthorDate: Fri Jun 5 17:02:21 2026 +0100

    fix: Skip `fork` and `forkserver` on `win32` (#1566)
    
    * fix: Skip fork and forkserver on win32
    
    * Fix fmt
---
 python/tests/test_pickle_multiprocessing.py | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/python/tests/test_pickle_multiprocessing.py 
b/python/tests/test_pickle_multiprocessing.py
index fcce49d9..c22b52d2 100644
--- a/python/tests/test_pickle_multiprocessing.py
+++ b/python/tests/test_pickle_multiprocessing.py
@@ -84,11 +84,18 @@ START_METHODS = [
     pytest.param(
         "fork",
         marks=pytest.mark.skipif(
-            sys.platform == "darwin",
-            reason="fork start method is unsafe with PyArrow/tokio on macOS",
+            sys.platform in ("darwin", "win32"),
+            reason="fork start method is not supported on Windows "
+            "and unsafe with PyArrow/tokio on macOS",
+        ),
+    ),
+    pytest.param(
+        "forkserver",
+        marks=pytest.mark.skipif(
+            sys.platform == "win32",
+            reason="forkserver start method is not supported on Windows",
         ),
     ),
-    "forkserver",
     "spawn",
 ]
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to