aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-01-19 13:25:45 -0500
committerJason R. Coombs <jaraco@jaraco.com>2020-01-19 13:25:45 -0500
commit5ce9e5f343ca14f9875106f37f16ad498b294183 (patch)
treec7d0ed37234ba1d6d4e253bdbf866c63793edfc0 /setuptools/tests/test_easy_install.py
parent313ac58f51c6ef92170647c4cc8626043f68a26b (diff)
downloadexternal_python_setuptools-5ce9e5f343ca14f9875106f37f16ad498b294183.tar.gz
external_python_setuptools-5ce9e5f343ca14f9875106f37f16ad498b294183.tar.bz2
external_python_setuptools-5ce9e5f343ca14f9875106f37f16ad498b294183.zip
👹 Feed the hobgoblins (delint).
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 30e79fec..534392b9 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -629,7 +629,7 @@ class TestSetupRequires:
test_pkg = create_setup_requires_package(
temp_dir, setup_attrs=dict(version='attr: foobar.version'),
make_package=make_dependency_sdist,
- use_setup_cfg=use_setup_cfg+('version',),
+ use_setup_cfg=use_setup_cfg + ('version',),
)
test_setup_py = os.path.join(test_pkg, 'setup.py')
with contexts.quiet() as (stdout, stderr):
@@ -905,8 +905,8 @@ def make_python_requires_sdist(dist_path, distname, version, python_requires):
python_requires={python_requires!r},
)
""").format(
- name=distname, version=version,
- python_requires=python_requires)),
+ name=distname, version=version,
+ python_requires=python_requires)),
('setup.cfg', ''),
])
@@ -965,16 +965,16 @@ def create_setup_requires_package(path, distname='foobar', version='0.1',
value = ';'.join(value)
section.append('%s: %s' % (name, value))
test_setup_cfg_contents = DALS(
- """
- [metadata]
- {metadata}
- [options]
- {options}
- """
- ).format(
- options='\n'.join(options),
- metadata='\n'.join(metadata),
- )
+ """
+ [metadata]
+ {metadata}
+ [options]
+ {options}
+ """
+ ).format(
+ options='\n'.join(options),
+ metadata='\n'.join(metadata),
+ )
else:
test_setup_cfg_contents = ''
with open(os.path.join(test_pkg, 'setup.cfg'), 'w') as f: