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): ...@@ -1428,11 +1428,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