summaryrefslogtreecommitdiff
path: root/pkg_resources/tests
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-05-10 15:51:53 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-05-10 15:52:50 -0400
commitfdee8026f5d58ee7cee0fad3c0b7e0ae7d5272ba (patch)
treed0fd461b9786bd92e54d334fb72a3a5c87ef16bf /pkg_resources/tests
parentd11428b1cc059ff6aa0ddec0bd8354a1df68d752 (diff)
downloadpython-setuptools-git-fdee8026f5d58ee7cee0fad3c0b7e0ae7d5272ba.tar.gz
Restore parameter
Diffstat (limited to 'pkg_resources/tests')
-rw-r--r--pkg_resources/tests/test_pkg_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources/tests/test_pkg_resources.py b/pkg_resources/tests/test_pkg_resources.py
index 1c66dec0..9991402c 100644
--- a/pkg_resources/tests/test_pkg_resources.py
+++ b/pkg_resources/tests/test_pkg_resources.py
@@ -335,7 +335,7 @@ def test_dist_info_is_not_dir(tmp_path, only):
"""Test path containing a file with dist-info extension."""
dist_info = tmp_path / 'foobar.dist-info'
dist_info.touch()
- assert not pkg_resources.dist_factory(str(dist_info), only)
+ assert not pkg_resources.dist_factory(None, str(dist_info), only)
class TestDeepVersionLookupDistutils: