- Skip one test that fails on 32bit: test_encode_non_c_locale
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=26
This commit is contained in:
parent
bd1fb91f99
commit
7fd2305835
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 12:28:49 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Skip one test that fails on 32bit: test_encode_non_c_locale
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 01:59:25 UTC 2019 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pandas
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -108,6 +108,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
|
||||
%check
|
||||
# skip test that tries to compile stuff in buildroot test_oo_optimizable
|
||||
# test_encode_non_c_locale - skip test as it overflows on 32bit
|
||||
export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))')
|
||||
export http_proxy=http://1.2.3.4 https_proxy=http://1.2.3.4;
|
||||
export LANG=en_US.UTF-8
|
||||
@ -115,7 +116,7 @@ export LC_ALL=en_US.UTF-8
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
mv pandas pandas_temp
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||
xvfb-run py.test-%{$python_version} -n auto -v %{buildroot}%{$python_sitearch}/pandas/tests -k 'not test_oo_optimizable'
|
||||
xvfb-run py.test-%{$python_version} -n auto -v %{buildroot}%{$python_sitearch}/pandas/tests -k 'not test_oo_optimizable and not test_encode_non_c_locale'
|
||||
}
|
||||
mv pandas_temp pandas
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user