mirror of https://github.com/pypa/pip
Ignore WARNING emitted by setuptools during test
This commit is contained in:
parent
3ff2513537
commit
8d38b37052
|
@ -276,7 +276,9 @@ def test_uninstall_easy_installed_console_scripts(script):
|
|||
"""
|
||||
Test uninstalling package with console_scripts that is easy_installed.
|
||||
"""
|
||||
result = script.easy_install('discover')
|
||||
# setuptools >= 42.0.0 deprecates easy_install and prints a warning when
|
||||
# used
|
||||
result = script.easy_install('discover', allow_stderr_warning=True)
|
||||
assert script.bin / 'discover' + script.exe in result.files_created, (
|
||||
sorted(result.files_created.keys())
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue