diff --git a/python-quantities-0.12.4.tar.gz b/python-quantities-0.12.4.tar.gz index b2d82ee..e02435b 100644 --- a/python-quantities-0.12.4.tar.gz +++ b/python-quantities-0.12.4.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c04c16d59ea4fa025473c4cca686288cbdf83caff1eb2acddb037483568e70d1 -size 104100 +oid sha256:c1f8d8f472360c4523c68ad795623cc87898d01c3eb2553236d028e2d36b9dc6 +size 104093 diff --git a/python-quantities.spec b/python-quantities.spec index 8fbe7e4..8cb9a94 100644 --- a/python-quantities.spec +++ b/python-quantities.spec @@ -1,7 +1,7 @@ # # spec file for package python-quantities # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,6 +38,9 @@ Support for physical quantities with units, based on numpy. %prep %autosetup -p1 -n python-quantities-%{version} +# Test no longer fails when expected to fail. +# https://github.com/python-quantities/python-quantities/issues/8 +rm quantities/tests/test_umath.py %build %python_build @@ -47,8 +50,9 @@ Support for physical quantities with units, based on numpy. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# No longer fails https://github.com/python-quantities/python-quantities/issues/8 -%pytest -k 'not test_fix' +# Change to unittest because pytest not support. +# https://github.com/python-quantities/python-quantities/issues/160 +%pyunittest discover -v %files %{python_files} %doc CHANGES.txt README.rst