diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2021-07-04 17:16:48 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-07-04 17:16:48 -0400 |
| commit | ea2e55bf305585bb04ea91a5db7c780b9b9a5ec9 (patch) | |
| tree | d2e0522361f2955780d2a59876bfe7650dbf1aa8 /setuptools/dist.py | |
| parent | 51d1d8bd2b6e0dc379df6f6d72f60a95d983de95 (diff) | |
| download | python-setuptools-git-ea2e55bf305585bb04ea91a5db7c780b9b9a5ec9.tar.gz | |
Add test
Diffstat (limited to 'setuptools/dist.py')
| -rw-r--r-- | setuptools/dist.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py index 12ff308d..df071c16 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -600,6 +600,12 @@ class Distribution(_Distribution): @staticmethod def _expand_patterns(patterns): + """ + >>> list(Distribution._expand_patterns(['LICENSE'])) + ['LICENSE'] + >>> list(Distribution._expand_patterns(['setup.cfg', 'LIC*'])) + ['setup.cfg', 'LICENSE'] + """ return ( path for pattern in patterns |
