#1 Compatibility with pytest 7.2+
Opened a year ago by lbalhar. Modified a year ago
rpms/ lbalhar/python-notario rawhide  into  rawhide

file modified
+2 -1
@@ -29,6 +29,7 @@ 

  

  %prep

  %autosetup -p1 -n %{srcname}-%{version}

+ sed -i "s/from py\.test/from pytest/" notario/tests/test_decorators.py notario/tests/test_regex.py

  

  %build

  %{py3_build}
@@ -37,7 +38,7 @@ 

  %py3_install

  

  %check

- py.test-%{python3_version} -v notario/tests

+ pytest-%{python3_version} -v notario/tests

  

  %files -n python3-%{srcname}

  %doc README.rst

Tested in COPR with pytest 7.2.0

Metadata