Commit 6150775a authored by Stefan Behnel's avatar Stefan Behnel

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

parent 05794012
......@@ -1428,11 +1428,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