summaryrefslogtreecommitdiff
path: root/ptr.py
diff options
context:
space:
mode:
Diffstat (limited to 'ptr.py')
-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: