diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index df7ee0234f..935a122080 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -341,8 +341,10 @@ class BuildTest(unittest.TestCase): def test_multiprocessing(): - from multiprocessing import get_context - for stype in ('spawn', 'forkserver'): + from multiprocessing import get_context, get_all_start_methods + for stype in get_all_start_methods(): + if stype == 'fork': + continue ctx = get_context(stype) q = ctx.Queue() arg = 'hello'