#9 Switch the test runner in %check from nose to nose2
Closed 2 years ago by churchyard. Opened 2 years ago by churchyard.
rpms/ churchyard/python-lockfile nose2  into  rawhide

file modified
+6 -3
@@ -15,7 +15,7 @@ 

  Summary:        Platform-independent file locking module

  Epoch:          1

  Version:        0.12.2

- Release:        6%{?dist}

+ Release:        7%{?dist}

  License:        MIT

  

  URL:            https://github.com/openstack/pylockfile
@@ -30,7 +30,7 @@ 

  BuildRequires:  python3dist(sphinx)

  

  %if %{with tests}

- BuildRequires:  python3dist(nose)

+ BuildRequires:  python3dist(nose2)

  %endif

  

  %description %{common_description}
@@ -71,7 +71,7 @@ 

  

  %check

  %if %{with tests}

- PYTHONPATH=$(pwd) nosetests-3

+ %{python3} -m nose2

  %endif

  

  
@@ -88,6 +88,9 @@ 

  

  

  %changelog

+ * Thu Jun 23 2022 Miro Hrončok <mhroncok@redhat.com> - 1:0.12.2-7

+ - Switch the test runner in %%check from nose to nose2

+ 

  * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:0.12.2-6

  - Rebuilt for Python 3.11

  

Note that pytest discovers nothing

In the meantime, I am still trying to make pytest collect something.

Pull-Request has been closed by churchyard

2 years ago
Metadata