summaryrefslogtreecommitdiff
path: root/tox
diff options
context:
space:
mode:
authorRebecka Gulliksson <rebecka.gulliksson@umu.se>2015-08-24 11:24:34 +0200
committerRebecka Gulliksson <rebecka.gulliksson@umu.se>2015-08-24 11:24:34 +0200
commite2b7f6995fe5aeb298f7a985f9f565557cff302a (patch)
tree7a0c05ead30cafad6e8098f95d7c4e93d7bd413f /tox
parent9812251ebca547393ffc4b4f4e2a74ca0df90c96 (diff)
downloadtox-e2b7f6995fe5aeb298f7a985f9f565557cff302a.tar.gz
Handle the 'non-voting fail' status that can occur in a non-voting testenv.
Diffstat (limited to 'tox')
-rw-r--r--tox/session.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox/session.py b/tox/session.py
index fcdcf6c..33c7c63 100644
--- a/tox/session.py
+++ b/tox/session.py
@@ -570,6 +570,9 @@ class Session:
elif status == "platform mismatch":
msg = " %s: %s" % (venv.envconfig.envname, str(status))
self.report.skip(msg)
+ elif status and status == "non-voting fail":
+ msg = " %s: %s" % (venv.envconfig.envname, str(status))
+ self.report.good(msg)
elif status and status != "skipped tests":
msg = " %s: %s" % (venv.envconfig.envname, str(status))
self.report.error(msg)