14
0

exclude tests on older SLE+Leap due to

# ImportError: cannot import name inf

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=16
This commit is contained in:
2021-04-21 06:51:05 +00:00
committed by Git OBS Bridge
parent 6663721341
commit e19a3647fd

View File

@@ -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%{?sle_version} > 150200
%python_exec -m unittest discover
%endif
%endif
%if !%{with test}
%files %{python_files}