Skip to content

Commit b7e0c34

Browse files
committed
fix: don't default to sysmon yet
1 parent e5babcf commit b7e0c34

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

coverage/collector.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,13 @@ def __init__(
149149
else:
150150
core = os.getenv("COVERAGE_CORE")
151151
if not core:
152-
if env.PYBEHAVIOR.pep669 and self.should_start_context is None:
153-
core = "sysmon"
154-
elif HAS_CTRACER:
152+
# Once we're comfortable with sysmon as a default:
153+
# if env.PYBEHAVIOR.pep669 and self.should_start_context is None:
154+
# core = "sysmon"
155+
if HAS_CTRACER:
155156
core = "ctrace"
157+
else:
158+
core = "pytrace"
156159

157160
if core == "sysmon":
158161
self._trace_class = SysMonitor

0 commit comments

Comments
 (0)