From cb529e677b6c1b255caac9b174aa5cf5f24d7dd1 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Tue, 20 Mar 2018 17:32:22 -0400 Subject: reduce new pylint complaints Mostly indentation complaints, plus an unused test parameter, fixed. Leaves one new pylint complaint, which is about a test function naming issue which affects every test. --- tests/functional/test_install_reqs.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tests') diff --git a/tests/functional/test_install_reqs.py b/tests/functional/test_install_reqs.py index 003b37fb8..582e17ed2 100644 --- a/tests/functional/test_install_reqs.py +++ b/tests/functional/test_install_reqs.py @@ -515,7 +515,7 @@ def test_install_unsupported_wheel_file(script, data): assert len(result.files_created) == 0 -def test_install_options_local_to_package(script, data, virtualenv): +def test_install_options_local_to_package(script, data): """Make sure --install-options does not leak across packages. A requirements.txt file can have per-package --install-options; these @@ -528,15 +528,15 @@ def test_install_options_local_to_package(script, data, virtualenv): home_simple.mkdir() reqs_file = script.scratch_path.join("reqs.txt") reqs_file.write( - textwrap.dedent(""" - simple --install-option='--home=%s' - INITools - """ % home_simple)) + textwrap.dedent(""" + simple --install-option='--home=%s' + INITools + """ % home_simple)) result = script.pip( - 'install', - '--no-index', '-f', data.find_links, - '-r', reqs_file, - expect_error=True, + 'install', + '--no-index', '-f', data.find_links, + '-r', reqs_file, + expect_error=True, ) simple = test_simple / 'lib' / 'python' / 'simple' -- cgit v1.2.1