summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pym/gentoolkit/test/test_syntax.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/gentoolkit/test/test_syntax.py b/pym/gentoolkit/test/test_syntax.py
index 325034a..7a990ca 100644
--- a/pym/gentoolkit/test/test_syntax.py
+++ b/pym/gentoolkit/test/test_syntax.py
@@ -27,7 +27,10 @@ class TestForSyntaxErrors(unittest.TestCase):
def test_main():
- test_support.run_unittest(TestGentoolkitHelpers2)
+ suite = unittest.TestLoader().loadTestsFromTestCase(
+ TestForSyntaxErrors)
+ unittest.TextTestRunner(verbosity=2).run(suite)
+test_main.__test__ = False
if __name__ == '__main__':