forked from pool/python-quantities
Accepting request 865061 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/865061 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quantities?expand=0&rev=3
This commit is contained in:
commit
fdac41abe6
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c04c16d59ea4fa025473c4cca686288cbdf83caff1eb2acddb037483568e70d1
|
||||
size 104100
|
||||
oid sha256:c1f8d8f472360c4523c68ad795623cc87898d01c3eb2553236d028e2d36b9dc6
|
||||
size 104093
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 20 14:30:54 UTC 2021 - andy great <andythe_great@pm.me>
|
||||
|
||||
- Change from pytest to unittest.
|
||||
- Remove test_umath because the test no longer fails when expected
|
||||
to fail.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 15:29:29 UTC 2020 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user