Skip to content

Commit 2fc7187

Browse files
committed
print to stderr
1 parent 3fcafb5 commit 2fc7187

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/libregrtest/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,8 @@ def _run_tests(self, selected: TestTuple, tests: TestList | None) -> int:
541541
# if _testinternalcapi is missing and the -R option is set.
542542
if not can_use_suppress_immortalization(runtests.hunt_refleak):
543543
print("Module '_testinternalcapi' is missing. "
544-
"Did you disable it with --disable-test-modules?")
544+
"Did you disable it with --disable-test-modules?",
545+
file=sys.stderr)
545546
raise SystemExit(1)
546547

547548
# gh-117783: don't immortalize deferred objects when tracking

0 commit comments

Comments
 (0)