]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - test/__main__.py
Fix a pylint warning for a top-level variable name in test/__main__.py.
[dunshire.git] / test / __main__.py
index 8d88f647376f1d555691c1119b0216399e3c8a29..b0598e7dbbff4fa082039b4c41bff1604e8c2506 100755 (executable)
@@ -4,9 +4,7 @@ An implementation of __main__() that allows us to "run this module."
 """
 from test import build_suite, run_suite
 
-result = run_suite(build_suite())
-
-if result.wasSuccessful():
+if run_suite(build_suite()).wasSuccessful():
     exit(0)
 else:
     exit(1)