- Skip test_hashing to fix 32bit builds
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elementpath?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
47f726d263
commit
0ae495ffbf
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 18:33:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Skip test_hashing to fix 32bit builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 14:24:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -23,14 +23,13 @@ Release: 0
|
||||
Summary: XPath 1.0/20 parsers and selectors for ElementTree and lxml
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/sissaschool/elementpath
|
||||
URL: https://github.com/sissaschool/elementpath
|
||||
Source: https://github.com/sissaschool/elementpath/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -52,7 +51,8 @@ rm tests/test_schema_proxy.py
|
||||
|
||||
%check
|
||||
# test_compare_strings_function depends on LOCALE to produce proper results
|
||||
%pytest -k 'not test_compare_strings_function'
|
||||
# test_hashing is arch specific and overflows on 32bit platforms
|
||||
%pytest -k 'not test_compare_strings_function and not test_hashing'
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.rst README.rst
|
||||
|
||||
Reference in New Issue
Block a user