We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43b7976 commit 5c2dfa3Copy full SHA for 5c2dfa3
1 file changed
lib/matplotlib/tests/test_font_manager.py
@@ -286,6 +286,9 @@ def _model_handler(_):
286
reason='emscripten does not support subprocesses')
287
@pytest.mark.skipif(not hasattr(os, "register_at_fork"),
288
reason="Cannot register at_fork handlers")
289
+# Python 3.15+ raises DeprecationWarning for fork in multi-threaded process
290
+@pytest.mark.filterwarnings("ignore:.*multi-threaded.*fork.*:DeprecationWarning")
291
+@pytest.mark.filterwarnings("ignore:.*multi-threaded.*fork.*:RuntimeWarning")
292
def test_fork():
293
_model_handler(0) # Make sure the font cache is filled.
294
ctx = multiprocessing.get_context("fork")
0 commit comments