mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Set multiprocessing start method to fork
Since the current code requires forking, set it explicitly rather than disabling parallelization on macOS.
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
|
||||
import codecs
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
from docutils import nodes
|
||||
@@ -311,8 +309,6 @@ def test_colored_logs(app, status, warning):
|
||||
|
||||
|
||||
@pytest.mark.xfail(os.name != 'posix', reason="Not working on windows")
|
||||
@pytest.mark.xfail(platform.system() == 'Darwin' and sys.version_info > (3, 8),
|
||||
reason="Not working on macOS and py38")
|
||||
def test_logging_in_ParallelTasks(app, status, warning):
|
||||
logging.setup(app, status, warning)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
Reference in New Issue
Block a user