aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-10-12 09:54:56 +0200
committerJason R. Coombs <jaraco@jaraco.com>2017-10-12 09:54:56 +0200
commitf8e6e7204394dd37e0c3f16230427189f50bb4b0 (patch)
tree35d2f9189cf7b8787ec86aff002bcbb6669b5eb4 /setuptools
parent9a42fe5cbc5fa73d528547a918586647f2122140 (diff)
downloadexternal_python_setuptools-f8e6e7204394dd37e0c3f16230427189f50bb4b0.tar.gz
external_python_setuptools-f8e6e7204394dd37e0c3f16230427189f50bb4b0.tar.bz2
external_python_setuptools-f8e6e7204394dd37e0c3f16230427189f50bb4b0.zip
Extract variables in test for clarity.
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/tests/test_pep517.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/tests/test_pep517.py b/setuptools/tests/test_pep517.py
index 07b5aada..af963037 100644
--- a/setuptools/tests/test_pep517.py
+++ b/setuptools/tests/test_pep517.py
@@ -71,9 +71,9 @@ def build_backend(tmpdir):
def test_get_requires_for_build_wheel(build_backend):
- b = build_backend
- assert list(sorted(b.get_requires_for_build_wheel())) == \
- list(sorted(['six', 'setuptools', 'wheel']))
+ actual = build_backend.get_requires_for_build_wheel()
+ expected = ['six', 'setuptools', 'wheel']
+ assert sorted(actual) == sorted(expected)
def test_build_wheel(build_backend):