diff options
| author | xoviat <xoviat@users.noreply.github.com> | 2017-09-08 10:40:52 -0500 |
|---|---|---|
| committer | xoviat <xoviat@users.noreply.github.com> | 2017-09-08 10:40:52 -0500 |
| commit | 80a820fe98ad6a687828c3e129412f33417498c5 (patch) | |
| tree | 302c67a2ddbabea2ffcf87dee5e00ce3cf3390f3 /setuptools/tests | |
| parent | 944976d869b96d6a960daf45bf8545987c6dea91 (diff) | |
| download | external_python_setuptools-80a820fe98ad6a687828c3e129412f33417498c5.tar.gz external_python_setuptools-80a820fe98ad6a687828c3e129412f33417498c5.tar.bz2 external_python_setuptools-80a820fe98ad6a687828c3e129412f33417498c5.zip | |
tests: pep517: minor cleanup
Diffstat (limited to 'setuptools/tests')
| -rw-r--r-- | setuptools/tests/test_pep517.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/setuptools/tests/test_pep517.py b/setuptools/tests/test_pep517.py index 0fbdacc4..da228770 100644 --- a/setuptools/tests/test_pep517.py +++ b/setuptools/tests/test_pep517.py @@ -34,17 +34,16 @@ class BuildBackend(BuildBackendBase): return self.pool.submit( BuildBackendCaller(os.path.abspath(self.cwd), self.env, self.backend_name), - (name, args, kw)).result() + name, *args, **kw).result() return method class BuildBackendCaller(BuildBackendBase): - def __call__(self, info): + def __call__(self, name, *args, **kw): """Handles aribrary function invokations on the build backend.""" os.chdir(self.cwd) os.environ.update(self.env) - name, args, kw = info return getattr(import_module(self.backend_name), name)(*args, **kw) |
