aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_develop.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-11-24 19:38:13 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-11-24 19:38:13 -0500
commite1e3570fb01aa4f1fe6d0e56cfb73d38b781a307 (patch)
treecf9b4cf4af4f1000b2bdf2b428e278af82298398 /setuptools/tests/test_develop.py
parent448cfc53cd16fb11562def2ee8b9bf66ed178b21 (diff)
downloadexternal_python_setuptools-e1e3570fb01aa4f1fe6d0e56cfb73d38b781a307.tar.gz
external_python_setuptools-e1e3570fb01aa4f1fe6d0e56cfb73d38b781a307.tar.bz2
external_python_setuptools-e1e3570fb01aa4f1fe6d0e56cfb73d38b781a307.zip
Extract variable
Diffstat (limited to 'setuptools/tests/test_develop.py')
-rw-r--r--setuptools/tests/test_develop.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/setuptools/tests/test_develop.py b/setuptools/tests/test_develop.py
index 2baf83bb..49e007e6 100644
--- a/setuptools/tests/test_develop.py
+++ b/setuptools/tests/test_develop.py
@@ -54,12 +54,13 @@ class TestDevelopTest:
@pytest.mark.skipif(hasattr(sys, 'real_prefix'),
reason="Cannot run when invoked in a virtualenv")
def test_develop(self, test_env):
- dist = Distribution(
- dict(name='foo',
- packages=['foo'],
- use_2to3=True,
- version='0.0',
- ))
+ settings = dict(
+ name='foo',
+ packages=['foo'],
+ use_2to3=True,
+ version='0.0',
+ )
+ dist = Distribution(settings)
dist.script_name = 'setup.py'
cmd = develop(dist)
cmd.user = 1