Hello community, here is the log from the commit of package python-nose2 for openSUSE:Factory checked in at 2019-11-22 10:21:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nose2 (Old) and /work/SRC/openSUSE:Factory/.python-nose2.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nose2" Fri Nov 22 10:21:51 2019 rev:6 rq:747272 version:0.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nose2/python-nose2.changes 2019-10-02 11:57:52.275189225 +0200 +++ /work/SRC/openSUSE:Factory/.python-nose2.new.26869/python-nose2.changes 2019-11-22 10:21:52.541330438 +0100 @@ -1,0 +2,6 @@ +Mon Nov 11 03:25:06 UTC 2019 - Steve Kowalik <[email protected]> + +- Add ignore-warnings-doctests.patch to supress warnings when running + doctests. + +------------------------------------------------------------------- New: ---- ignore-warnings-doctests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nose2.spec ++++++ --- /var/tmp/diff_new_pack.r1AUTZ/_old 2019-11-22 10:21:53.113330349 +0100 +++ /var/tmp/diff_new_pack.r1AUTZ/_new 2019-11-22 10:21:53.117330348 +0100 @@ -27,6 +27,7 @@ Source: https://files.pythonhosted.org/packages/source/n/nose2/nose2-%{version}.tar.gz Patch0: remove_unittest2.patch Patch1: fix-mock-dep.patch +Patch2: ignore-warnings-doctests.patch BuildRequires: %{python_module coverage >= 4.4.1} BuildRequires: %{python_module mock} BuildRequires: %{python_module setuptools} ++++++ ignore-warnings-doctests.patch ++++++ Index: nose2-0.9.1/nose2/tests/functional/test_doctests_plugin.py =================================================================== --- nose2-0.9.1.orig/nose2/tests/functional/test_doctests_plugin.py +++ nose2-0.9.1/nose2/tests/functional/test_doctests_plugin.py @@ -1,8 +1,13 @@ +import warnings from nose2.tests._common import FunctionalTestCase, support_file class TestDoctestsPlugin(FunctionalTestCase): + def setUp(self): + super(TestDoctestsPlugin, self).setUp() + warnings.simplefilter('ignore') + def test_simple(self): proc = self.runIn( 'scenario/doctests',
