diff --git a/python-pytest-sourceorder.changes b/python-pytest-sourceorder.changes index 6aed522..010588a 100644 --- a/python-pytest-sourceorder.changes +++ b/python-pytest-sourceorder.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 26 06:05:32 UTC 2025 - Steve Kowalik + +- Add patch remove-yield-test.patch: + * Remove now unsupported yield test. + ------------------------------------------------------------------- Wed Sep 01 00:00:00 UTC 2021 - Petr Viktorin - 0.6.0 Added support for decorated methods (thanks to Sergey Orlov) diff --git a/python-pytest-sourceorder.spec b/python-pytest-sourceorder.spec index 9ef9322..5094513 100644 --- a/python-pytest-sourceorder.spec +++ b/python-pytest-sourceorder.spec @@ -21,9 +21,10 @@ Version: 0.6.0 Release: 0 Summary: Test-ordering plugin for pytest License: GPL-3.0-or-later -Group: Development/Languages/Python URL: https://pagure.io/python-pytest-sourceorder Source: pytest-sourceorder-%{version}.tar.gz +# PATCH-FIX-OPENSUSE https://pagure.io/python-pytest-sourceorder/issue/3 +Patch0: remove-yield-test.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -70,6 +71,6 @@ reset the inheritance-based ordering. %license COPYING %{python_sitelib}/pytest_sourceorder.py %{python_sitelib}/pytest_sourceorder-%{version}.dist-info -%pycache_only %{python_sitelib}/__pycache__ +%pycache_only %{python_sitelib}/__pycache__/pytest_sourceorder.*.pyc %changelog diff --git a/remove-yield-test.patch b/remove-yield-test.patch new file mode 100644 index 0000000..641521d --- /dev/null +++ b/remove-yield-test.patch @@ -0,0 +1,14 @@ +Index: pytest-sourceorder-0.6.0/test_sourceorder.py +=================================================================== +--- pytest-sourceorder-0.6.0.orig/test_sourceorder.py ++++ pytest-sourceorder-0.6.0/test_sourceorder.py +@@ -69,9 +69,5 @@ class TestUnrelated(object): + def test_b(self): + pass + +- def test_nose_generator(self): +- for i in range(2): +- yield (lambda x: i, i) +- + def test_unrelated(): + pass