diff --git a/pyproject.toml b/pyproject.toml index 54a54da040916..1b2cc33512ab3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -300,12 +300,13 @@ markers = [ "integration: marks tests requiring external services (API keys, Modal, etc.)", "real_concurrent_gate: opt out of the autouse stub that disables _detect_concurrent_hermes_instances", ] -# pytest-timeout: per-test 30s hard cap with signal method. +# pytest-timeout: per-test 30s hard cap. # This is the fallback inside each per-file pytest subprocess (see # scripts/run_tests_parallel.py). Per-file isolation gives every test # file a fresh Python interpreter; pytest-timeout catches Python-level -# hangs within a file. -addopts = "-m 'not integration' --timeout=30 --timeout-method=signal" +# hangs within a file. Leave the timeout method unset so pytest-timeout can +# choose a platform-safe default (signal on POSIX, thread on Windows). +addopts = "-m 'not integration' --timeout=30" [tool.ty.environment] python-version = "3.13"