Use the same test execution as upstream does, they do not ship tox config in the sdist. Removes pytest dependency

This commit is contained in:
Jonny Heggheim 2022-11-25 15:08:00 +01:00
parent 0b7cf422d2
commit 96ae4f1f10

View File

@ -14,7 +14,6 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-test
BuildRequires: python3-pytest
%global _description %{expand:
@ -70,7 +69,8 @@ cp -v %{SOURCE1} src/
%check
%pytest
cd src
%{python3} -m unittest discover
%files -n python3-typing-extensions -f %{pyproject_files}
%license LICENSE