summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-02-08 16:58:53 -0500
committerJason R. Coombs <jaraco@jaraco.com>2017-02-08 16:58:53 -0500
commitbb6b39bea530bdff158330665e93a9ee13f8c771 (patch)
tree24c40cc57db9a4b492c0aaa488c7bd21c1845021
parent647f5d9a352919aedc99a6b69f22f85cb7f36455 (diff)
downloadpytest-runner-bb6b39bea530bdff158330665e93a9ee13f8c771.tar.gz
Fix issue in marker evaluation logic. Fixes #28.
-rw-r--r--ptr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ptr.py b/ptr.py
index 94ef1d7..ebb868c 100644
--- a/ptr.py
+++ b/ptr.py
@@ -105,7 +105,7 @@ class PyTest(orig.test):
reqs
for (name, sep, marker), reqs in spec_extras
# never include extras that fail to pass marker eval
- if marker and not self.marker_passes(marker)
+ if self.marker_passes(marker)
# include unnamed extras or all if self.extras indicated
and (not name or self.extras)
)