From 86ec3f37afbf3238a437b92d30115d87a9cf3141 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 20 Aug 2016 18:47:42 +0200 Subject: [PATCH] minor: s/no pkg_resources/pkg_resources/ --- _pytest/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/runner.py b/_pytest/runner.py index c619ac39b..d1a155415 100644 --- a/_pytest/runner.py +++ b/_pytest/runner.py @@ -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" %(