summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-08-19 20:21:27 +0100
committerJason R. Coombs <jaraco@jaraco.com>2015-08-19 20:21:27 +0100
commitcd9cf38ee9e3f760a0524646661c91b706de63ac (patch)
treeaec48032c118e9e74900f69978eeec32d265ff7d
parentcc9cbb035f0fb4d2b70fddedde63940c711fb6ef (diff)
downloadpytest-runner-cd9cf38ee9e3f760a0524646661c91b706de63ac.tar.gz
Fix error in handling of --extras2.6.2
-rw-r--r--ptr.py2
1 files changed, 1 insertions, 1 deletions
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: