Tweak the chattymodule to not leak potentially information

I'd like to use this in screenshots, but the os.environ makes it a bit
tricky to do.
上级 eb462744
......@@ -6,8 +6,10 @@ import sys
from setuptools import setup
print(f"HELLO FROM CHATTYMODULE {sys.argv[1]}")
print(os.environ)
print(sys.argv)
print(sys.executable)
print(sys.version)
if "--fail" in sys.argv:
print("I DIE, I DIE")
sys.exit(1)
......
......@@ -1739,7 +1739,7 @@ def test_install_editable_with_wrong_egg_name(
"fragments."
) in result.stderr
if resolver_variant == "2020-resolver":
assert "has inconsistent" in result.stderr, str(result)
assert "has inconsistent" in result.stdout, str(result)
else:
assert "Successfully installed pkga" in str(result), str(result)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册