diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/subunit/files | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
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) |
