Remove default allow_stderr_warning=False

This commit is contained in:
Hugo van Kemenade 2020-12-22 16:40:01 +02:00
parent 2426744203
commit 209ca8de8f
2 changed files with 1 additions and 2 deletions

View File

@ -489,7 +489,6 @@ def make_wheel_with_python_requires(script, package_name, python_requires):
package_dir.joinpath('setup.py').write_text(text)
script.run(
'python', 'setup.py', 'bdist_wheel', '--universal', cwd=package_dir,
allow_stderr_warning=False,
)
file_name = '{}-1.0-py2.py3-none-any.whl'.format(package_name)

View File

@ -1550,7 +1550,7 @@ def test_install_incompatible_python_requires_wheel(script, with_wheel):
"""))
script.run(
'python', 'setup.py', 'bdist_wheel', '--universal',
cwd=pkga_path, allow_stderr_warning=False,
cwd=pkga_path,
)
result = script.pip('install', './pkga/dist/pkga-0.1-py2.py3-none-any.whl',
expect_error=True)