aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-10-12 10:06:48 +0200
committerJason R. Coombs <jaraco@jaraco.com>2017-10-12 10:06:48 +0200
commit35d77eb73fe9a91b49f7b73d84092036680282c9 (patch)
tree9530d7071db208e5cc85c6bf60d6a6132c2ce5a2
parent6cc792288fb7fdcb257b427c6b94b770b9149308 (diff)
downloadexternal_python_setuptools-35d77eb73fe9a91b49f7b73d84092036680282c9.tar.gz
external_python_setuptools-35d77eb73fe9a91b49f7b73d84092036680282c9.tar.bz2
external_python_setuptools-35d77eb73fe9a91b49f7b73d84092036680282c9.zip
Use shorthand for conciseness.
-rw-r--r--setuptools/tests/test_pep517.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/setuptools/tests/test_pep517.py b/setuptools/tests/test_pep517.py
index 12c86fa5..dd32572d 100644
--- a/setuptools/tests/test_pep517.py
+++ b/setuptools/tests/test_pep517.py
@@ -47,9 +47,7 @@ class BuildBackendCaller(BuildBackendBase):
def build_backend(tmpdir):
defn = {
'setup.py': DALS("""
- from setuptools import setup
-
- setup(
+ __import__('setuptools').setup(
name='foo',
py_modules=['hello'],
setup_requires=['six'],