summaryrefslogtreecommitdiff
path: root/dev-python/pygtk/files/pygtk-2.24.0-test-fail.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pygtk/files/pygtk-2.24.0-test-fail.patch')
-rw-r--r--dev-python/pygtk/files/pygtk-2.24.0-test-fail.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-python/pygtk/files/pygtk-2.24.0-test-fail.patch b/dev-python/pygtk/files/pygtk-2.24.0-test-fail.patch
new file mode 100644
index 00000000000..5bb1aec13d8
--- /dev/null
+++ b/dev-python/pygtk/files/pygtk-2.24.0-test-fail.patch
@@ -0,0 +1,9 @@
+--- tests/runtests.py
++++ tests/runtests.py
+@@ -41,4 +41,5 @@
+ suite.addTest(loader.loadTestsFromName(name))
+
+ testRunner = unittest.TextTestRunner()
+-testRunner.run(suite)
++result = testRunner.run(suite)
++sys.exit(not result.wasSuccessful())