Accepting request 966294 from home:bnavigator:branches:devel:languages:python:numeric

- Replace a stray mock import by unittest.mock

OBS-URL: https://build.opensuse.org/request/show/966294
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=16
This commit is contained in:
Benjamin Greiner 2022-03-31 21:57:53 +00:00 committed by Git OBS Bridge
parent c3dfd099ff
commit d6df37aba6
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 31 20:50:59 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Replace a stray mock import by unittest.mock
-------------------------------------------------------------------
Fri Mar 25 13:17:01 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -71,6 +71,7 @@ cp %{S:99} tests/samples/cython-flags/setup.cfg
cp %{S:99} tests/samples/issue-274-support-default-package-dir/setup.cfg
cp %{S:99} tests/samples/issue-274-support-one-package-without-package-dir/setup.cfg
cp %{S:99} tests/samples/issue-334-configure-cmakelist-non-cp1252-encoding/setup.cfg
sed -i 's/from mock import/from unittest.mock import/' tests/*.py
# remove coverage flags
sed -i '/addopts/ d' setup.cfg