[med-svn] [python-cobra] 03/06: Remove patch that was applied upstream

Afif Elghraoui afif-guest at moszumanska.debian.org
Sat Aug 29 05:30:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

afif-guest pushed a commit to branch master
in repository python-cobra.

commit ab62cd4f266c52ac9d7dc061e244f61a8a44cd33
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Fri Aug 28 21:58:03 2015 -0700

    Remove patch that was applied upstream
---
 debian/patches/series                       |  1 -
 debian/patches/test-suite-return-code.patch | 24 ------------------------
 2 files changed, 25 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
index 4ef2782..5a4f2ed 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 mathjax.patch
-test-suite-return-code.patch
 testsuite-check-jsonschema.patch
diff --git a/debian/patches/test-suite-return-code.patch b/debian/patches/test-suite-return-code.patch
deleted file mode 100644
index c1f91bf..0000000
--- a/debian/patches/test-suite-return-code.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Description: Pass test suite exit status back to the shell
- Watching stderr is not reliable since warnings are also printed there.
- Barring that, the test suite did not pass its exit status back to the
- shell and there was no way to automatically check whether the tests were
- successful.
-Author: Afif Elghraoui <afif at ghraoui.name>
-Forwarded: no
-Last-Update: 2015-08-10
---- python-cobra.orig/cobra/test/__init__.py
-+++ python-cobra/cobra/test/__init__.py
-@@ -1,5 +1,6 @@
- from __future__ import absolute_import
- from os.path import join, abspath, dirname
-+import sys
- import unittest as _unittest
- 
- try:
-@@ -63,4 +64,5 @@
- 
- def test_all():
-     """###running unit tests on cobra py###"""
--    _unittest.TextTestRunner(verbosity=2).run(create_test_suite())
-+    status = not _unittest.TextTestRunner(verbosity=2).run(create_test_suite()).wasSuccessful()
-+    sys.exit(status)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-cobra.git



More information about the debian-med-commit mailing list