summaryrefslogtreecommitdiff
path: root/setuptools/tests
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-09-16 10:38:22 -0400
committerGitHub <noreply@github.com>2018-09-16 10:38:22 -0400
commitf4286295ce94ccac860b418e074a384349612b25 (patch)
treef8a00d3aae75e75495a5bfff8559c05a682f8036 /setuptools/tests
parent5a58c69518337e8f0d309cb0c9a9027840cd676e (diff)
parent2fabfd3a66e6984bd6fccf07b46356f956af0297 (diff)
downloadpython-setuptools-git-f4286295ce94ccac860b418e074a384349612b25.tar.gz
Merge pull request #1477 from gaborbernat/no-sdist-wheel
build_meta.get_requires_for_build_sdist does not include wheel
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_build_meta.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/setuptools/tests/test_build_meta.py b/setuptools/tests/test_build_meta.py
index a5aa75a3..f1d517bb 100644
--- a/setuptools/tests/test_build_meta.py
+++ b/setuptools/tests/test_build_meta.py
@@ -107,6 +107,12 @@ def test_get_requires_for_build_wheel(build_backend):
assert sorted(actual) == sorted(expected)
+def test_get_requires_for_build_sdist(build_backend):
+ actual = build_backend.get_requires_for_build_sdist()
+ expected = ['six', 'setuptools']
+ assert sorted(actual) == sorted(expected)
+
+
def test_build_wheel(build_backend):
dist_dir = os.path.abspath('pip-wheel')
os.makedirs(dist_dir)