summaryrefslogtreecommitdiff
path: root/dev-python/rope/files/rope-0.9.3-fix_tests_results.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/rope/files/rope-0.9.3-fix_tests_results.patch')
-rw-r--r--dev-python/rope/files/rope-0.9.3-fix_tests_results.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/rope/files/rope-0.9.3-fix_tests_results.patch b/dev-python/rope/files/rope-0.9.3-fix_tests_results.patch
new file mode 100644
index 00000000000..5250cc66f94
--- /dev/null
+++ b/dev-python/rope/files/rope-0.9.3-fix_tests_results.patch
@@ -0,0 +1,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())