File tree 3 files changed +6
-7
lines changed
3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -1301,7 +1301,7 @@ def plugin_info(plugins: List[Any]) -> List[str]:
1301
1301
info = [
1302
1302
("coverage_version" , covmod .__version__ ),
1303
1303
("coverage_module" , covmod .__file__ ),
1304
- ("tracer " , self ._collector .tracer_name () if self ._collector is not None else "-none-" ),
1304
+ ("core " , self ._collector .tracer_name () if self ._collector is not None else "-none-" ),
1305
1305
("CTracer" , "available" if HAS_CTRACER else "unavailable" ),
1306
1306
("plugins.file_tracers" , plugin_info (self ._plugins .file_tracers )),
1307
1307
("plugins.configurers" , plugin_info (self ._plugins .configurers )),
Original file line number Diff line number Diff line change @@ -128,7 +128,6 @@ def should_skip(core):
128
128
if test_cores :
129
129
if core not in test_cores :
130
130
skipper = f"core { core } not in COVERAGE_TEST_CORES={ test_cores } "
131
-
132
131
else :
133
132
# $set_env.py: COVERAGE_ONE_CORE - Only run tests for one core.
134
133
only_one = os .getenv ("COVERAGE_ONE_CORE" )
Original file line number Diff line number Diff line change @@ -225,22 +225,22 @@ def assert_good_debug_sys(out_text: str) -> None:
225
225
"""Assert that `str` is good output for debug=sys."""
226
226
labels = """
227
227
coverage_version coverage_module coverage_paths stdlib_paths third_party_paths
228
- tracer configs_attempted config_file configs_read data_file
228
+ core configs_attempted config_file configs_read data_file
229
229
python platform implementation executable
230
230
pid cwd path environment command_line cover_match pylib_match
231
231
""" .split ()
232
232
for label in labels :
233
233
label_pat = fr"^\s*{ label } : "
234
234
msg = f"Incorrect lines for { label !r} "
235
235
assert 1 == len (re_lines (label_pat , out_text )), msg
236
- tracer_line = re_line ("tracer :" , out_text ).strip ()
236
+ tracer_line = re_line (" core :" , out_text ).strip ()
237
237
if testenv .C_TRACER :
238
- assert tracer_line == "tracer : CTracer"
238
+ assert tracer_line == "core : CTracer"
239
239
elif testenv .PY_TRACER :
240
- assert tracer_line == "tracer : PyTracer"
240
+ assert tracer_line == "core : PyTracer"
241
241
else :
242
242
assert testenv .SYS_MON
243
- assert tracer_line == "tracer : SysMonitor"
243
+ assert tracer_line == "core : SysMonitor"
244
244
245
245
246
246
class DebugOutputTest (CoverageTest ):
You can’t perform that action at this time.
0 commit comments