diff --git a/python-pytest-filter-subpackage.changes b/python-pytest-filter-subpackage.changes index b0eb39e..1ac4b23 100644 --- a/python-pytest-filter-subpackage.changes +++ b/python-pytest-filter-subpackage.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 16 15:02:16 UTC 2021 - Ben Greiner + +- Fix test suite: Don't error on OBS resource warnings + ------------------------------------------------------------------- Wed Dec 9 00:01:05 UTC 2020 - Benjamin Greiner diff --git a/python-pytest-filter-subpackage.spec b/python-pytest-filter-subpackage.spec index 1ec0aa4..531874e 100644 --- a/python-pytest-filter-subpackage.spec +++ b/python-pytest-filter-subpackage.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-filter-subpackage # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -53,6 +53,8 @@ shortcut to testing all code and documentation for a given sub-package. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# don't error on obs resource warnings +sed -i '/^\s*error/ a \ ignore::ResourceWarning' setup.cfg %pytest %files %{python_files}