forked from pool/python-construct
Accepting request 816628 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/816628 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-construct?expand=0&rev=15
This commit is contained in:
commit
402720069b
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 23 14:27:05 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Add source dir to PYTHONPATH just as upstream does.
|
||||||
|
Necessary due change in pytest macro gh#openSUSE/python-rpm-macros#48
|
||||||
|
- don't benchmark, just run the tests once
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 12 11:59:37 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Wed Feb 12 11:59:37 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -78,7 +78,9 @@ rm -rf tests/deprecated_gallery
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%pytest
|
# local source dir is needed for tests
|
||||||
|
export PYTHONPATH=$(pwd)
|
||||||
|
%pytest --benchmark-disable
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{without test}
|
%if %{without test}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user