Skip to content

Commit 8d38b37

Browse files
committed
Ignore WARNING emitted by setuptools during test
1 parent 3ff2513 commit 8d38b37

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/functional/test_uninstall.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,9 @@ def test_uninstall_easy_installed_console_scripts(script):
276276
"""
277277
Test uninstalling package with console_scripts that is easy_installed.
278278
"""
279-
result = script.easy_install('discover')
279+
# setuptools >= 42.0.0 deprecates easy_install and prints a warning when
280+
# used
281+
result = script.easy_install('discover', allow_stderr_warning=True)
280282
assert script.bin / 'discover' + script.exe in result.files_created, (
281283
sorted(result.files_created.keys())
282284
)

0 commit comments

Comments
 (0)