mirror of https://github.com/pypa/pip
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.
This commit is contained in:
parent
eb462744da
commit
deb2d754e7
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue