[blivet:master 03/20] Disable W0703 message in test

mulhern amulhern at redhat.com
Fri Apr 11 18:03:45 UTC 2014


If sorting throws any exception then this test has failed.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 tests/tsort_test.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/tsort_test.py b/tests/tsort_test.py
index 79c1508..7cf172f 100644
--- a/tests/tsort_test.py
+++ b/tests/tsort_test.py
@@ -41,6 +41,7 @@ class TopologicalSortTestCase(unittest.TestCase):
 
         try:
             order = blivet.tsort.tsort(graph)
+        # pylint: disable=W0703
         except Exception as e:
             self.fail(e)
 
-- 
1.8.3.1



More information about the anaconda-patches mailing list