]> gitweb.michael.orlitzky.com - dunshire.git/commitdiff
Fix a pylint warning for a top-level variable name in test/__main__.py.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 1 Nov 2016 17:07:08 +0000 (13:07 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 1 Nov 2016 17:07:08 +0000 (13:07 -0400)
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)