Index: expect_tests/type_definitions.py |
diff --git a/expect_tests/type_definitions.py b/expect_tests/type_definitions.py |
index bc4bdd5dbb53bf12c8671a5c1b0eecc6dfba4349..b6b9d3ea8f88c39882cda42087cb4eafa18f223d 100644 |
--- a/expect_tests/type_definitions.py |
+++ b/expect_tests/type_definitions.py |
@@ -480,7 +480,8 @@ class Handler(object): |
handler = cls.ResultStageHandler(opts) |
try: |
for obj in objects: |
- error |= isinstance(handler(obj), Failure) |
+ error |= (isinstance(handler(obj), Failure) and not |
+ isinstance(obj, NoMatchingTestsError)) |
ghost stip (do not use)
2014/11/15 01:32:27
note that this is obj, and not handler(obj)
iannucci
2014/11/15 01:34:19
shouldn't this check come before we run handler on
ghost stip (do not use)
2014/11/15 01:38:12
Acknowledged.
|
except ResultStageAbort: |
aborted = True |
handler.finalize(aborted) |