Skip to content

Commit

Permalink
- disabled (Unix-specific) pytest-forked support on Windows;
Browse files Browse the repository at this point in the history
  • Loading branch information
jaltmayerpizzorno committed Apr 3, 2024
1 parent b3c2c0a commit 5353b7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/slipcover/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5353b7a

Please sign in to comment.