aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-01-02 14:23:14 -0500
committerJason R. Coombs <jaraco@jaraco.com>2019-01-02 14:23:14 -0500
commit2db2a8f37d64d8abd281660d48009003cc8805ca (patch)
tree13578708245c72875a7548ecfafbbccbd514012d
parentf4eb1393730fea7e522b5622c1e2efaea9fd2cc3 (diff)
downloadexternal_python_setuptools-2db2a8f37d64d8abd281660d48009003cc8805ca.tar.gz
external_python_setuptools-2db2a8f37d64d8abd281660d48009003cc8805ca.tar.bz2
external_python_setuptools-2db2a8f37d64d8abd281660d48009003cc8805ca.zip
Feed the hobgoblins (delint).
-rw-r--r--setuptools/tests/test_build_meta.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/setuptools/tests/test_build_meta.py b/setuptools/tests/test_build_meta.py
index 2a079446..a472d3eb 100644
--- a/setuptools/tests/test_build_meta.py
+++ b/setuptools/tests/test_build_meta.py
@@ -172,18 +172,21 @@ def test_build_sdist_version_change(build_backend):
sdist_name = build_backend.build_sdist(sdist_into_directory)
assert os.path.isfile(os.path.join(sdist_into_directory, sdist_name))
- # if the setup.py changes subsequent call of the build meta should still succeed, given the
+ # if the setup.py changes subsequent call of the build meta
+ # should still succeed, given the
# sdist_directory the frontend specifies is empty
with open(os.path.abspath("setup.py"), 'rt') as file_handler:
content = file_handler.read()
with open(os.path.abspath("setup.py"), 'wt') as file_handler:
- file_handler.write(content.replace("version='0.0.0'", "version='0.0.1'"))
+ file_handler.write(
+ content.replace("version='0.0.0'", "version='0.0.1'"))
shutil.rmtree(sdist_into_directory)
os.makedirs(sdist_into_directory)
sdist_name = build_backend.build_sdist("out_sdist")
- assert os.path.isfile(os.path.join(os.path.abspath("out_sdist"), sdist_name))
+ assert os.path.isfile(
+ os.path.join(os.path.abspath("out_sdist"), sdist_name))
def test_build_sdist_setup_py_exists(tmpdir_cwd):
@@ -214,4 +217,3 @@ def test_build_sdist_setup_py_manifest_excluded(tmpdir_cwd):
targz_path = build_sdist("temp")
with tarfile.open(os.path.join("temp", targz_path)) as tar:
assert not any('setup.py' in name for name in tar.getnames())
-