From 128f15cd998980d8620812e7c961a9dfa1b803a4 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Mon, 12 Dec 2011 02:02:14 -0700 Subject: [PATCH] Removed unused imports and trailing whitespace. --- pip/baseparser.py | 2 +- tests/test_basic.py | 2 +- tests/test_config.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pip/baseparser.py b/pip/baseparser.py index 06580123129..26e9905e0f5 100644 --- a/pip/baseparser.py +++ b/pip/baseparser.py @@ -71,7 +71,7 @@ def update_defaults(self, defaults): sys.exit(3) defaults[option.dest] = val return defaults - + def normalize_keys(self, items): """Return a config dictionary with normalized keys regardless of whether the keys were specified in environment variables or in config diff --git a/tests/test_basic.py b/tests/test_basic.py index 88c4339b4a4..36b9aa36c3e 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -7,7 +7,7 @@ from nose import SkipTest from nose.tools import assert_raises -from mock import Mock, patch +from mock import patch from pip.util import rmtree, find_command from pip.exceptions import BadCommand diff --git a/tests/test_config.py b/tests/test_config.py index 680ab46bdc5..a5cd93bee93 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -36,7 +36,7 @@ def test_command_line_options_override_env_vars(): def test_env_vars_override_config_file(): """ Test that environmental variables override settings in config files. - + """ fd, config_file = tempfile.mkstemp('-pip.cfg', 'test-') try: