summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_mypy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_mypy.py b/tests/test_mypy.py
index c2a9745..8258e7e 100644
--- a/tests/test_mypy.py
+++ b/tests/test_mypy.py
@@ -23,5 +23,5 @@ class MypyRunnerTest(unittest.TestCase):
messages.append(stdout)
if status:
messages.append('Mypy failed with status %d' % status)
- if messages:
+ if messages and not all('Success' in message for message in messages):
self.fail('\n'.join(['Mypy errors:'] + messages))