From f841b843331096b8509a6ee02b6a2bd235452122 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 28 Mar 2025 08:20:53 +0530 Subject: [PATCH] Skip test_multiprocessing on macOS --- src/calibre/test_build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index 8a23df108e..3e22902e73 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -556,6 +556,10 @@ class BuildTest(unittest.TestCase): def test_multiprocessing(): + if ismacos: + # skip because this tests fails on some macOS systems with + # OSError: AF_UNIX path too long. Sigh. + return from multiprocessing import get_all_start_methods, get_context for stype in get_all_start_methods(): if stype == 'fork':