summaryrefslogtreecommitdiff
path: root/dev-python/rope/files/rope-0.9.3-fix_tests_results.patch
blob: 5250cc66f948ba6423fd6a912a68b59ce1e44ea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://bitbucket.org/agr/rope/issue/7/

--- ropetest/__init__.py
+++ ropetest/__init__.py
@@ -1,3 +1,4 @@
+import sys
 import unittest
 
 import ropetest.projecttest
@@ -31,4 +32,5 @@
 
 if __name__ == '__main__':
     runner = unittest.TextTestRunner()
-    runner.run(suite())
+    result = runner.run(suite())
+    sys.exit(not result.wasSuccessful())