Skip to content

Commit

Permalink
Try hardcoding coverage runs in instead
Browse files Browse the repository at this point in the history
  • Loading branch information
A5rocks committed Jun 21, 2023
1 parent eafce9a commit af2720b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion trio/_core/_tests/test_multierror.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,9 @@ def run_script(name, use_ipython=False):

cmd = [
sys.executable,
"-m",
"coverage",
"run",
"-u",
"-m",
"IPython",
Expand All @@ -463,7 +466,7 @@ def run_script(name, use_ipython=False):
"--TerminalIPythonApp.code_to_run=" + "\n".join(lines),
]
else:
cmd = [sys.executable, "-u", str(script_path)]
cmd = [sys.executable, "-m", "coverage", "run", "-u", str(script_path)]
print("running:", cmd)
completed = subprocess.run(
cmd, env=env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT
Expand Down

0 comments on commit af2720b

Please sign in to comment.