Accepting request 958022 from devel:languages:python:jupyter

- Skip more failing tests due to new Exception message format

OBS-URL: https://build.opensuse.org/request/show/958022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbclient?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2022-02-28 18:43:46 +00:00 committed by Git OBS Bridge
commit ff25b39146
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 28 10:17:42 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Skip more failing tests due to new Exception message format
-------------------------------------------------------------------
Thu Feb 17 16:33:39 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -60,6 +60,7 @@ BuildRequires: %{python_module ipython}
BuildRequires: %{python_module ipywidgets < 8}
BuildRequires: %{python_module nbclient = %{version}}
BuildRequires: %{python_module pytest >= 4.1}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module xmltodict}
%endif
%python_subpackages
@ -89,9 +90,9 @@ export IPYKERNEL_CELL_NAME="<IPY-INPUT>"
# tests on parallel notebooks randomly fail (4 tests) - https://github.com/jupyter/nbclient/pull/74#issuecomment-635929953
donttest="parallel_notebooks"
# https://github.com/jupyter/nbclient/issues/189
donttest+=" or (test_run_all_notebooks and Interrupt.ipynb)"
donttest+=" or (test_run_all_notebooks and (opts6 or opts8 or opts9))"
# extra -v for more verbose error diffs
%pytest -v -k "not ($donttest)"
%pytest -v -k "not ($donttest)" --asyncio-mode=auto
%endif
%if ! %{with test}