Fix `is_forking_spawner` fixture to call helper fn
(this commit msg was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-codesubint_forkserver_backend
parent
9bbb6f796b
commit
83b6a3373a
|
|
@ -653,6 +653,7 @@ def pytest_generate_tests(
|
||||||
# scope='module',
|
# scope='module',
|
||||||
# )
|
# )
|
||||||
|
|
||||||
|
|
||||||
def _is_forking_spawner(
|
def _is_forking_spawner(
|
||||||
start_method: str,
|
start_method: str,
|
||||||
) -> bool:
|
) -> bool:
|
||||||
|
|
@ -670,7 +671,7 @@ def is_forking_spawner(
|
||||||
Is the `pytest` run using a `fork()`ing process spawning-backend?
|
Is the `pytest` run using a `fork()`ing process spawning-backend?
|
||||||
|
|
||||||
'''
|
'''
|
||||||
return _is_forking_spawner
|
return _is_forking_spawner(start_method)
|
||||||
|
|
||||||
|
|
||||||
def maybe_xfail_for_spawner(
|
def maybe_xfail_for_spawner(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue