summaryrefslogtreecommitdiff
path: root/pkg_resources/tests/test_pkg_resources.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-01-19 12:46:30 -0500
committerJason R. Coombs <jaraco@jaraco.com>2020-01-19 12:46:30 -0500
commit3d4d8b9dde61b87271861b8c7ebeb168ac4fa72b (patch)
treeffbf9cd5a02337ced626892b672b7e21bd305717 /pkg_resources/tests/test_pkg_resources.py
parenta0e8d0568d84e29066a5b45aade5aafe28237ec0 (diff)
downloadpython-setuptools-git-3d4d8b9dde61b87271861b8c7ebeb168ac4fa72b.tar.gz
👹 Feed the hobgoblins (delint).
Diffstat (limited to 'pkg_resources/tests/test_pkg_resources.py')
-rw-r--r--pkg_resources/tests/test_pkg_resources.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkg_resources/tests/test_pkg_resources.py b/pkg_resources/tests/test_pkg_resources.py
index 5960868a..78281869 100644
--- a/pkg_resources/tests/test_pkg_resources.py
+++ b/pkg_resources/tests/test_pkg_resources.py
@@ -17,7 +17,9 @@ try:
except ImportError:
import mock
-from pkg_resources import DistInfoDistribution, Distribution, EggInfoDistribution
+from pkg_resources import (
+ DistInfoDistribution, Distribution, EggInfoDistribution,
+)
from setuptools.extern import six
from pkg_resources.extern.six.moves import map
from pkg_resources.extern.six import text_type, string_types
@@ -279,8 +281,8 @@ def make_distribution_no_version(tmpdir, basename):
('dist-info', 'METADATA', DistInfoDistribution),
],
)
-def test_distribution_version_missing(tmpdir, suffix, expected_filename,
- expected_dist_type):
+def test_distribution_version_missing(
+ tmpdir, suffix, expected_filename, expected_dist_type):
"""
Test Distribution.version when the "Version" header is missing.
"""