We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f30d6f6 commit 76eeeeeCopy full SHA for 76eeeee
tests/stubtest_third_party.py
@@ -107,11 +107,11 @@ def run_stubtest(dist: Path) -> None:
107
print(f"stubtest failed for {dist.name}", file=sys.stderr)
108
if not allowlist_path.exists():
109
print(
110
- "\n\nRe-running stubtest with --generate-allowlist. "
111
- f"Add the following to {allowlist_path}:\n",
112
- file=sys.stderr,
+ "\n\nRe-running stubtest with --generate-allowlist.\n"
+ f"Add the following to {allowlist_path}:"
113
)
114
subprocess.run(cmd + ["--generate-allowlist"], env={"MYPYPATH": str(dist)})
+ print("\n\n")
115
raise StubtestFailed from None
116
else:
117
print(f"stubtest succeeded for {dist.name}", file=sys.stderr)
0 commit comments