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-code
(cherry picked from commit 83b6a3373a)
test_suite_hardening
parent
6e336ce117
commit
a1f7ce0725
|
|
@ -851,6 +851,7 @@ def pytest_generate_tests(
|
|||
# scope='module',
|
||||
# )
|
||||
|
||||
|
||||
def _is_forking_spawner(
|
||||
start_method: str,
|
||||
) -> bool:
|
||||
|
|
@ -868,7 +869,7 @@ def is_forking_spawner(
|
|||
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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue