Commit 0830ddf4 authored by Stefan Behnel's avatar Stefan Behnel

Fix mypy usage problem in test runner: should pass list, was passing tuple.

parent 4f0db69e
......@@ -1416,11 +1416,11 @@ class PureDoctestTestCase(unittest.TestCase):
pass
else:
with self.stats.time(self.name, 'py', 'mypy'):
mypy_result = mypy_api.run((
mypy_result = mypy_api.run([
self.module_path,
'--ignore-missing-imports',
'--follow-imports', 'skip',
))
])
if mypy_result[2]:
self.fail(mypy_result[0])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment