From 76eeeee4c4375b32db9a6d2cc3f5a57d756ab1d6 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Thu, 5 Aug 2021 20:16:46 -0700 Subject: [PATCH] [minor] Clearer formatting for stubtest_third_party output (#5856) Co-authored-by: hauntsaninja <> --- tests/stubtest_third_party.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/stubtest_third_party.py b/tests/stubtest_third_party.py index 9d726bc08..2401cc58f 100755 --- a/tests/stubtest_third_party.py +++ b/tests/stubtest_third_party.py @@ -107,11 +107,11 @@ def run_stubtest(dist: Path) -> None: print(f"stubtest failed for {dist.name}", file=sys.stderr) if not allowlist_path.exists(): print( - "\n\nRe-running stubtest with --generate-allowlist. " - f"Add the following to {allowlist_path}:\n", - file=sys.stderr, + "\n\nRe-running stubtest with --generate-allowlist.\n" + f"Add the following to {allowlist_path}:" ) subprocess.run(cmd + ["--generate-allowlist"], env={"MYPYPATH": str(dist)}) + print("\n\n") raise StubtestFailed from None else: print(f"stubtest succeeded for {dist.name}", file=sys.stderr)