diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-03-26 06:39:42 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-03-26 06:39:42 +0000 |
commit | 7053b2ea3faa0efee3cb6aa6d28be17ca202e20e (patch) | |
tree | ed571fdc73e0b9761fbe7022789dac30e702b0da /dev-python/subunit/files | |
parent | Add ruby22. (diff) | |
download | gentoo-2-7053b2ea3faa0efee3cb6aa6d28be17ca202e20e.tar.gz gentoo-2-7053b2ea3faa0efee3cb6aa6d28be17ca202e20e.tar.bz2 gentoo-2-7053b2ea3faa0efee3cb6aa6d28be17ca202e20e.zip |
bump; rebase tests.patch for testsuite, add commented list of tests found to fail only under py2.7, pypy in pudated test phase, rm many old
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/subunit/files')
-rw-r--r-- | dev-python/subunit/files/1.0.0-tests.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/subunit/files/1.0.0-tests.patch b/dev-python/subunit/files/1.0.0-tests.patch new file mode 100644 index 000000000000..d83a1900cbe1 --- /dev/null +++ b/dev-python/subunit/files/1.0.0-tests.patch @@ -0,0 +1,25 @@ +diff -ur subunit-1.0.0.orig/python/subunit/tests/test_run.py subunit-1.0.0/python/subunit/tests/test_run.py +--- python/subunit/tests/test_run.py 2014-11-18 16:59:26.000000000 +0800 ++++ python/subunit/tests/test_run.py 2015-03-26 13:25:19.193341069 +0800 +@@ -77,21 +77,6 @@ + exc = self.assertRaises(SystemExit, runner.list, None, loader=loader) + 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'))) +- + class ExitingTest(TestCase): + def test_exit(self): + raise SystemExit(0) |