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): ...@@ -1416,11 +1416,11 @@ class PureDoctestTestCase(unittest.TestCase):
pass pass
else: else:
with self.stats.time(self.name, 'py', 'mypy'): with self.stats.time(self.name, 'py', 'mypy'):
mypy_result = mypy_api.run(( mypy_result = mypy_api.run([
self.module_path, self.module_path,
'--ignore-missing-imports', '--ignore-missing-imports',
'--follow-imports', 'skip', '--follow-imports', 'skip',
)) ])
if mypy_result[2]: if mypy_result[2]:
self.fail(mypy_result[0]) 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