From 67e8979ac177e93208f17f5730b8793dc5f21c0c Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Tue, 21 Sep 2021 14:16:12 -0700 Subject: [PATCH] stubtest_third_party: more newlines in printing (#6060) Co-authored-by: hauntsaninja <> --- tests/stubtest_third_party.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/stubtest_third_party.py b/tests/stubtest_third_party.py index f95f1ffdf..0cbe2728a 100755 --- a/tests/stubtest_third_party.py +++ b/tests/stubtest_third_party.py @@ -105,9 +105,10 @@ def run_stubtest(dist: Path) -> None: subprocess.run(cmd, env={"MYPYPATH": str(dist), "MYPY_FORCE_COLOR": "1"}, check=True) except subprocess.CalledProcessError: print(f"stubtest failed for {dist.name}", file=sys.stderr) + print("\n\n", file=sys.stderr) if not allowlist_path.exists(): print( - "\n\nRe-running stubtest with --generate-allowlist.\n" + "Re-running stubtest with --generate-allowlist.\n" f"Add the following to {allowlist_path}:" ) subprocess.run(cmd + ["--generate-allowlist"], env={"MYPYPATH": str(dist)}) @@ -115,6 +116,7 @@ def run_stubtest(dist: Path) -> None: raise StubtestFailed from None else: print(f"stubtest succeeded for {dist.name}", file=sys.stderr) + print("\n\n", file=sys.stderr) # Keep this in sync with mypy_test.py