Skip to content

Commit

Permalink
fix: don't default to sysmon yet
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Dec 27, 2023
1 parent e5babcf commit b7e0c34
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions coverage/collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,13 @@ def __init__(
else:
core = os.getenv("COVERAGE_CORE")
if not core:
if env.PYBEHAVIOR.pep669 and self.should_start_context is None:
core = "sysmon"
elif HAS_CTRACER:
# Once we're comfortable with sysmon as a default:
# if env.PYBEHAVIOR.pep669 and self.should_start_context is None:
# core = "sysmon"
if HAS_CTRACER:
core = "ctrace"
else:
core = "pytrace"

if core == "sysmon":
self._trace_class = SysMonitor
Expand Down

0 comments on commit b7e0c34

Please sign in to comment.