summaryrefslogtreecommitdiff
path: root/setuptools/tests
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-11-02 21:15:56 -0400
committerJason R. Coombs <jaraco@jaraco.com>2021-11-02 21:39:32 -0400
commit10ead90587c991774f2b6157ed7924bac83fff65 (patch)
treed63bc119cf1b76f7f398acaa42ee84a9c7274b8a /setuptools/tests
parentb8ad7d2ca1abc59e42e63ecf484036d021a2e19c (diff)
downloadpython-setuptools-git-10ead90587c991774f2b6157ed7924bac83fff65.tar.gz
Trim docstring and remove comment.
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_sdist.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/setuptools/tests/test_sdist.py b/setuptools/tests/test_sdist.py
index 98eb1a4f..34c32bb0 100644
--- a/setuptools/tests/test_sdist.py
+++ b/setuptools/tests/test_sdist.py
@@ -127,14 +127,12 @@ class TestSdistTest:
assert os.path.join('d', 'e.dat') in manifest
def test_package_data_and_include_package_data_in_sdist(self):
- """Make sure there is no recursion when ``include_package_data=True``.
-
- The mention to a recursion can be first found in:
- https://github.com/pypa/setuptools/commit/f6cb3d29d919ff6b9313b8a3281c66cfb368c29b
"""
-
+ Ensure package_data and include_package_data work
+ together.
+ """
setup_attrs = {**SETUP_ATTRS, 'include_package_data': True}
- assert setup_attrs['package_data'] # make sure we have both options
+ assert setup_attrs['package_data']
dist = Distribution(setup_attrs)
dist.script_name = 'setup.py'