]> 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
old mode 100644 (file)
new mode 100755 (executable)
index 26dfc57..b0598e7
@@ -1,11 +1,10 @@
+#!/usr/bin/env python
 """
 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)