Merge pull request #1828 from blueyed/minor-s-no-pkg_resources-pkg_resources-

minor: s/no pkg_resources/pkg_resources/
This commit is contained in:
Florian Bruhin 2016-08-20 20:04:48 +02:00 committed by GitHub
commit 783aff17dd
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ def importorskip(modname, minversion=None):
from pkg_resources import parse_version as pv
except ImportError:
raise Skipped("we have a required version for %r but can not import "
"no pkg_resources to parse version strings." % (modname,),
"pkg_resources to parse version strings." % (modname,),
allow_module_level=True)
if verattr is None or pv(verattr) < pv(minversion):
raise Skipped("module %r has __version__ %r, required is: %r" %(