mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
dev-python/subunit: Drop old
obsoletes Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=412741 Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
diff -ur subunit-0.0.21.orig/python/subunit/tests/test_run.py subunit-0.0.21/python/subunit/tests/test_run.py
|
||||
--- python/subunit/tests/test_run.py 2014-08-24 13:27:32.000000000 +0800
|
||||
+++ python/subunit/tests/test_run.py 2014-09-23 14:03:54.731069912 +0800
|
||||
@@ -65,21 +65,6 @@
|
||||
exc = self.assertRaises(SystemExit, runner.list, None)
|
||||
self.assertEqual((2,), exc.args)
|
||||
|
||||
- class FailingTest(TestCase):
|
||||
- def test_fail(self):
|
||||
- 1/0
|
||||
-
|
||||
- def test_exits_zero_when_tests_fail(self):
|
||||
- bytestream = io.BytesIO()
|
||||
- stream = io.TextIOWrapper(bytestream, encoding="utf8")
|
||||
- try:
|
||||
- self.assertEqual(None, run.main(
|
||||
- argv=["progName", "subunit.tests.test_run.TestSubunitTestRunner.FailingTest"],
|
||||
- stdout=stream))
|
||||
- except SystemExit:
|
||||
- self.fail("SystemExit raised")
|
||||
- self.assertThat(bytestream.getvalue(), StartsWith(_b('\xb3')))
|
||||
-
|
||||
def test_exits_nonzero_when_execution_errors(self):
|
||||
bytestream = io.BytesIO()
|
||||
stream = io.TextIOWrapper(bytestream, encoding="utf8")
|
||||
@@ -1,24 +0,0 @@
|
||||
diff -ur subunit-0.0.10.orig/shell/tests/test_function_output.sh subunit-0.0.10/shell/tests/test_function_output.sh
|
||||
--- shell/tests/test_function_output.sh 2013-06-17 19:02:34.378260908 +0800
|
||||
+++ tests/test_function_output.sh 2013-06-17 19:03:49.082260928 +0800
|
||||
@@ -22,7 +22,7 @@
|
||||
# it is assumed that we are running from the 'shell' tree root in the source
|
||||
# of subunit, and that the library sourcing tests have all passed - if they
|
||||
# have not, this test script may well fail strangely.
|
||||
-
|
||||
+SHELL_SHARE="shell/share/"
|
||||
# import the library.
|
||||
. ${SHELL_SHARE}subunit.sh
|
||||
|
||||
diff -ur subunit-0.0.10.orig/shell/tests/test_source_library.sh subunit-0.0.10/shell/tests/test_source_library.sh
|
||||
--- shell/tests/test_source_library.sh 2013-06-17 19:03:01.322260915 +0800
|
||||
+++ shell/tests/test_source_library.sh 2013-06-17 18:53:46.634260762 +0800
|
||||
@@ -20,7 +20,7 @@
|
||||
# bindings being complete yet.
|
||||
|
||||
# we expect to be run from the tree root.
|
||||
-
|
||||
+SHELL_SHARE="shell/share/"
|
||||
echo 'test: shell bindings can be sourced'
|
||||
# if any output occurs, this has failed to source cleanly
|
||||
source_output=$(. ${SHELL_SHARE}subunit.sh 2>&1)
|
||||
Reference in New Issue
Block a user