forked from pool/python-canonicaljson
Accepting request 889399 from devel:languages:python
Exclude tests on older SLE+Leap due to "ImportError: cannot import name inf" OBS-URL: https://build.opensuse.org/request/show/889399 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-canonicaljson?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 29 11:09:25 UTC 2021 - Oliver Kurz <okurz@suse.com>
|
||||
|
||||
- Exclude tests on older SLE+Leap due to "ImportError: cannot import name inf"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 8 20:32:44 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
|
||||
@@ -75,8 +75,12 @@ RFC 7159.
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
# exclude tests on older SLE+Leap due to
|
||||
# ImportError: cannot import name inf
|
||||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300
|
||||
%python_exec -m unittest discover
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
|
||||
Reference in New Issue
Block a user