Skip to content

Commit 76eeeee

Browse files
authored
[minor] Clearer formatting for stubtest_third_party output (#5856)
Co-authored-by: hauntsaninja <>
1 parent f30d6f6 commit 76eeeee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/stubtest_third_party.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ def run_stubtest(dist: Path) -> None:
107107
print(f"stubtest failed for {dist.name}", file=sys.stderr)
108108
if not allowlist_path.exists():
109109
print(
110-
"\n\nRe-running stubtest with --generate-allowlist. "
111-
f"Add the following to {allowlist_path}:\n",
112-
file=sys.stderr,
110+
"\n\nRe-running stubtest with --generate-allowlist.\n"
111+
f"Add the following to {allowlist_path}:"
113112
)
114113
subprocess.run(cmd + ["--generate-allowlist"], env={"MYPYPATH": str(dist)})
114+
print("\n\n")
115115
raise StubtestFailed from None
116116
else:
117117
print(f"stubtest succeeded for {dist.name}", file=sys.stderr)

0 commit comments

Comments
 (0)