summaryrefslogtreecommitdiff
path: root/setuptools
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-03-31 10:40:36 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-03-31 10:40:36 -0400
commite7a27ca0a3ba06f69836872342089e7333f24a3a (patch)
treeb7e5b6c14d2bcbd940374a3ca3eef8e40142cdc7 /setuptools
parent9332edbf23be5d38488957bc8043ada2f1baddaf (diff)
downloadpython-setuptools-git-e7a27ca0a3ba06f69836872342089e7333f24a3a.tar.gz
Extract separate test for test_environment_markers in test_resources. Remove unused variable.
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/tests/test_egg_info.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_egg_info.py b/setuptools/tests/test_egg_info.py
index 6aed315f..fd5f26fc 100644
--- a/setuptools/tests/test_egg_info.py
+++ b/setuptools/tests/test_egg_info.py
@@ -123,7 +123,7 @@ class TestEggInfo(object):
def test_tests_require_with_markers(self, tmpdir_cwd, env):
self._setup_script_with_requires(
"""tests_require=["barbazquux;python_version<'2'"],""")
- data = self._run_install_command(
+ self._run_install_command(
tmpdir_cwd, env, cmd=['test'], output="Ran 0 tests in")
assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == []
@@ -154,7 +154,7 @@ class TestEggInfo(object):
if code:
raise AssertionError(data)
if output:
- assert output in data
+ assert output in data
def _find_egg_info_files(self, root):
class DirList(list):