diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-26 20:20:12 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-26 20:34:00 -0500 |
commit | 5cd86987530892bfb01f68ad5f1a2b997a3d01e7 (patch) | |
tree | d4070a1eb25cc8d046122dc585b77cf9f1ab0037 /setuptools/tests/test_find_packages.py | |
parent | 050c0cbdd776ebed369de6c6d51bdc88fa16eadf (diff) | |
download | external_python_setuptools-5cd86987530892bfb01f68ad5f1a2b997a3d01e7.tar.gz external_python_setuptools-5cd86987530892bfb01f68ad5f1a2b997a3d01e7.tar.bz2 external_python_setuptools-5cd86987530892bfb01f68ad5f1a2b997a3d01e7.zip |
Feed the hobgoblins (delint).
Diffstat (limited to 'setuptools/tests/test_find_packages.py')
-rw-r--r-- | setuptools/tests/test_find_packages.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/setuptools/tests/test_find_packages.py b/setuptools/tests/test_find_packages.py index b08f91c7..ab26b4f1 100644 --- a/setuptools/tests/test_find_packages.py +++ b/setuptools/tests/test_find_packages.py @@ -12,10 +12,10 @@ from . import py3_only from setuptools.extern.six import PY3 from setuptools import find_packages if PY3: - from setuptools import find_namespace_packages + from setuptools import find_namespace_packages -# modeled after CPython's test.support.can_symlink +# modeled after CPython's test.support.can_symlink def can_symlink(): TESTFN = tempfile.mktemp() symlink_path = TESTFN + "can_symlink" @@ -164,12 +164,14 @@ class TestFindPackages: def test_pep420_ns_package_no_includes(self): packages = find_namespace_packages( self.dist_dir, exclude=['pkg.subpkg.assets']) - self._assert_packages(packages, ['docs', 'pkg', 'pkg.nspkg', 'pkg.subpkg']) + self._assert_packages( + packages, ['docs', 'pkg', 'pkg.nspkg', 'pkg.subpkg']) @py3_only def test_pep420_ns_package_no_includes_or_excludes(self): packages = find_namespace_packages(self.dist_dir) - expected = ['docs', 'pkg', 'pkg.nspkg', 'pkg.subpkg', 'pkg.subpkg.assets'] + expected = [ + 'docs', 'pkg', 'pkg.nspkg', 'pkg.subpkg', 'pkg.subpkg.assets'] self._assert_packages(packages, expected) @py3_only @@ -185,4 +187,3 @@ class TestFindPackages: shutil.rmtree(os.path.join(self.dist_dir, 'pkg/subpkg/assets')) packages = find_namespace_packages(self.dist_dir) self._assert_packages(packages, ['pkg', 'pkg.nspkg', 'pkg.subpkg']) - |