From 823f25357a6dae8d648daabd19a08ff8ca899a72 Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Sun, 28 Oct 2012 18:20:14 +0100 Subject: [PATCH] Simplify --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 6b783931..74e169b0 100755 --- a/setup.py +++ b/setup.py @@ -39,9 +39,7 @@ class test( Command ): cov.start() import github.tests - testsResult = github.tests.run() - - ok = len( testsResult.failures ) == 0 and len( testsResult.errors ) == 0 + ok = github.tests.run().wasSuccessful() if analyseCoverage: cov.stop() for f in glob.glob( "github/*.py" ):