From 5353b7ac6fa1f5453870b458f41c78ed6e1ce6ad Mon Sep 17 00:00:00 2001 From: Juan Altmayer Pizzorno Date: Wed, 3 Apr 2024 16:38:35 -0400 Subject: [PATCH] - disabled (Unix-specific) pytest-forked support on Windows; --- src/slipcover/__main__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/slipcover/__main__.py b/src/slipcover/__main__.py index b01be7d..c9068e9 100644 --- a/src/slipcover/__main__.py +++ b/src/slipcover/__main__.py @@ -155,8 +155,9 @@ def main(): sc.wrap_pytest(sci, file_matcher) - os.fork = fork_shim() - os._exit = exit_shim(args, sci) + if platform.system() != 'Windows': + os.fork = fork_shim() + os._exit = exit_shim(args, sci) def sci_atexit(): global output_tmpfile