Accepting request 642726 from devel:languages:python
- Fix calling of py.test executor. OBS-URL: https://build.opensuse.org/request/show/642726 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=23
This commit is contained in:
commit
2067bc3cda
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 17 18:53:19 CEST 2018 - mcepl@suse.com
|
||||
|
||||
- Fix calling of py.test executor.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 21 07:24:58 CEST 2018 - mcepl@suse.com
|
||||
|
||||
|
@ -59,7 +59,10 @@ export CFLAGS="%{optflags}"
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%$python_bin_suffix -W ignore::UserWarning c/ testing/
|
||||
# https://bitbucket.org/cffi/cffi/issues/390/
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||
py.test-%$python_bin_suffix -v -k 'not test_dlopen' -W ignore::UserWarning c/ testing/
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user