summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhil Pennock <phil@pennock-tech.com>2018-03-20 17:32:22 -0400
committerPhil Pennock <phil@pennock-tech.com>2018-03-20 17:32:22 -0400
commitcb529e677b6c1b255caac9b174aa5cf5f24d7dd1 (patch)
tree11a2def0e9044500804223734a628cdc27aedba4 /tests
parent23cd8f689948d2741bb7e3df2b69020c4b88251f (diff)
downloadpip-cb529e677b6c1b255caac9b174aa5cf5f24d7dd1.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/test_install_reqs.py18
1 files changed, 9 insertions, 9 deletions
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'