Skip to content

Commit 09ed889

Browse files
committed
fix: avoid unintentionally interrupted from subprocess on Windows
1 parent a341611 commit 09ed889

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/cocoindex/tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ def _cocoindex_windows_env_fixture(
2424
signal.signal(signal.SIGINT, signal.SIG_IGN)
2525
cocoindex.subprocess_exec.shutdown_pool_at_exit()
2626

27-
# If any test failed, let pytest exit normally with nonzero code
28-
if request.session.testsfailed == 0:
29-
os._exit(0) # immediate success exit (skips atexit/teardown)
27+
# # If any test failed, let pytest exit normally with nonzero code
28+
# if request.session.testsfailed == 0:
29+
# os._exit(0) # immediate success exit (skips atexit/teardown)
3030

3131
finally:
3232
try:

0 commit comments

Comments
 (0)