From c04115ab48c57d9a259e3c7f968cf71842449cdb Mon Sep 17 00:00:00 2001 From: Jeff Dairiki Date: Thu, 22 Jan 2015 14:30:25 -0800 Subject: Add NO COVER pragmas --- pyramid/path.py | 5 +++-- 1 file 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 """ -- cgit v1.2.3