test-bots: Fix lint errors.

This commit is contained in:
Tim Abbott 2017-06-07 14:02:27 -07:00
parent 863b5a233c
commit d3df4307d3
1 changed files with 2 additions and 2 deletions

View File

@ -34,11 +34,11 @@ if __name__ == '__main__':
# type: (str) -> None
# mypy doesn't recognize the TestLoader attribute, even though the code
# is executable
loader = unittest.TestLoader() # type: ignore
loader = unittest.TestLoader() # type: ignore
suite = loader.discover(start_dir=start_dir, top_level_dir=root_dir)
runner = unittest.TextTestRunner(verbosity=2)
# same issue as for TestLoader
result = runner.run(suite) # type: ignore
result = runner.run(suite) # type: ignore
if result.errors or result.failures:
raise Exception('Test failed!')