pep8: Add compliance with rule E261 to test-tools.

This commit is contained in:
Aditya Bansal 2017-05-18 02:54:34 +05:30
parent 8b219bea13
commit 521bdccb9d
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ if __name__ == '__main__':
sys.path.insert(0, root_dir)
loader = unittest.TestLoader() # type: ignore # https://github.com/python/typeshed/issues/372
loader = unittest.TestLoader() # type: ignore # https://github.com/python/typeshed/issues/372
if args.coverage:
import coverage
@ -38,7 +38,7 @@ if __name__ == '__main__':
suite = loader.discover(start_dir=tools_test_dir, top_level_dir=root_dir)
runner = unittest.TextTestRunner(verbosity=2)
result = runner.run(suite) # type: ignore # https://github.com/python/typeshed/issues/372
result = runner.run(suite) # type: ignore # https://github.com/python/typeshed/issues/372
if result.errors or result.failures:
raise Exception('Test failed!')