summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/path.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyramid/path.py b/pyramid/path.py
index 8eecc282b..f2d8fff55 100644
--- a/pyramid/path.py
+++ b/pyramid/path.py
@@ -341,9 +341,10 @@ class DottedNameResolver(Resolver):
# See https://pythonhosted.org/setuptools/history.html#id8
ep = pkg_resources.EntryPoint.parse('x=%s' % value)
if hasattr(ep, 'resolve'):
- return ep.resolve() # setuptools>=10.2
+ # setuptools>=10.2
+ return ep.resolve() # pragma: NO COVER
else:
- return ep.load(False)
+ return ep.load(False) # pragma: NO COVER
def _zope_dottedname_style(self, value, package):
""" package.module.attr style """