From cd9cf38ee9e3f760a0524646661c91b706de63ac Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 19 Aug 2015 20:21:27 +0100 Subject: Fix error in handling of --extras --- ptr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptr.py b/ptr.py index 7988ebb..5c5287e 100644 --- a/ptr.py +++ b/ptr.py @@ -68,7 +68,7 @@ class PyTest(orig.test): extras_require = self.distribution.extras_require or {} for spec, reqs in extras_require.items(): name, sep, marker = spec.partition(':') - if not self.marker_passes(marker): + if marker and not self.marker_passes(marker): continue # always include unnamed extras if not name or self.extras: -- cgit v1.2.1