From 3e8bb3bcc17f349a20bf70c2678a154d8ff693b6 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 12 Oct 2017 10:09:52 +0200 Subject: Reindent for nicer lines --- setuptools/tests/test_pep517.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'setuptools') diff --git a/setuptools/tests/test_pep517.py b/setuptools/tests/test_pep517.py index dd32572d..fa6628ec 100644 --- a/setuptools/tests/test_pep517.py +++ b/setuptools/tests/test_pep517.py @@ -26,10 +26,9 @@ class BuildBackend(BuildBackendBase): def __getattr__(self, name): """Handles aribrary function invocations on the build backend.""" def method(*args, **kw): - return self.pool.submit( - BuildBackendCaller(os.path.abspath(self.cwd), self.env, - self.backend_name), - name, *args, **kw).result() + root = os.path.abspath(self.cwd) + caller = BuildBackendCaller(root, self.env, self.backend_name) + return self.pool.submit(caller, name, *args, **kw).result() return method @@ -91,5 +90,4 @@ def test_prepare_metadata_for_build_wheel(build_backend): dist_info = build_backend.prepare_metadata_for_build_wheel(dist_dir) - assert os.path.isfile(os.path.join(dist_dir, dist_info, - 'METADATA')) + assert os.path.isfile(os.path.join(dist_dir, dist_info, 'METADATA')) -- cgit v1.2.3