aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-03-06 16:00:56 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-03-06 16:00:56 -0500
commit85dd199e880fdf29a2dbe25bff944b5fc3b1081e (patch)
tree38b20d35d2c6161a106266743c7e6122133a394d
parent52172aa131f643c83370aa36968fa3f279c53858 (diff)
downloadexternal_python_setuptools-85dd199e880fdf29a2dbe25bff944b5fc3b1081e.tar.gz
external_python_setuptools-85dd199e880fdf29a2dbe25bff944b5fc3b1081e.tar.bz2
external_python_setuptools-85dd199e880fdf29a2dbe25bff944b5fc3b1081e.zip
Replace comment with docstring assertion.
-rw-r--r--setuptools/tests/test_easy_install.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 773ca6b6..4942acbf 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -182,9 +182,10 @@ class TestUserInstallTest:
log.info('this should not break')
def test_local_index(self):
- # make sure the local index is used
- # when easy_install looks for installed
- # packages
+ """
+ The local index must be used when easy_install locates installed
+ packages.
+ """
new_location = tempfile.mkdtemp()
target = tempfile.mkdtemp()
egg_file = os.path.join(new_location, 'foo-1.0.egg-info')