aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_find_packages.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests/test_find_packages.py')
-rw-r--r--setuptools/tests/test_find_packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_find_packages.py b/setuptools/tests/test_find_packages.py
index 9d31ccd7..6dc1b3ac 100644
--- a/setuptools/tests/test_find_packages.py
+++ b/setuptools/tests/test_find_packages.py
@@ -100,12 +100,12 @@ class TestFindPackages:
def test_exclude_recursive(self):
"""
- Excluding a parent package should exclude all child packages as well.
+ Excluding a parent package should not exclude child packages as well.
"""
self._touch('__init__.py', self.pkg_dir)
self._touch('__init__.py', self.sub_pkg_dir)
packages = find_packages(self.dist_dir, exclude=('pkg',))
- assert packages == []
+ assert packages == ['pkg.subpkg']
def test_include_excludes_other(self):
"""