Accepting request 921301 from home:pgajdos:python

- %check: do not use setup.py test

OBS-URL: https://build.opensuse.org/request/show/921301
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.event?expand=0&rev=24
This commit is contained in:
Hans-Peter Jansen 2021-09-24 13:05:02 +00:00 committed by Git OBS Bridge
parent 756c3c8d3a
commit ae0249a1d3
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 24 10:53:37 UTC 2021 - pgajdos@suse.com
- %check: do not use setup.py test
-------------------------------------------------------------------
Fri Jul 9 22:27:07 UTC 2021 - Jason Craig <os@jacraig.com>

View File

@ -66,7 +66,11 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
cd build/lib
%{python_expand \
$python -m unittest -v zope.event.tests
$python -m doctest -v zope/event/classhandler.py
}
%files %{python_files}
%license COPYRIGHT.txt LICENSE.txt