On Python 2/Windows, get_context() always returns same context.
()
| 299 | |
| 300 | @pytest.mark.skipif(sys.platform != "win32", reason="POSIX supports different contexts") |
| 301 | def test_get_context_always_default(): |
| 302 | """On Python 2/Windows, get_context() always returns same context.""" |
| 303 | assert get_context() is multiprocessing |
| 304 | with pytest.warns(UserWarning): |
| 305 | with dask.config.set({"multiprocessing.context": "forkserver"}): |
| 306 | assert get_context() is multiprocessing |
nothing calls this directly
no test coverage detected