forked from pool/python-pytest-sourceorder
- Add patch remove-yield-test.patch:
* Remove now unsupported yield test. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-sourceorder?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 26 06:05:32 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch remove-yield-test.patch:
|
||||
* Remove now unsupported yield test.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 01 00:00:00 UTC 2021 - Petr Viktorin <encukou@gmail.com> - 0.6.0
|
||||
Added support for decorated methods (thanks to Sergey Orlov)
|
||||
|
||||
@@ -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
|
||||
|
||||
14
remove-yield-test.patch
Normal file
14
remove-yield-test.patch
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user