Accepting request 947046 from home:bnavigator:branches:devel:languages:python:jupyter

- Skip a flaky test gh#jupyter/nbclient#189

OBS-URL: https://build.opensuse.org/request/show/947046
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclient?expand=0&rev=32
This commit is contained in:
Benjamin Greiner 2022-01-17 19:51:38 +00:00 committed by Git OBS Bridge
parent 82de29a475
commit 2ae3c21e65
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 17 19:50:25 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Skip a flaky test gh#jupyter/nbclient#189
-------------------------------------------------------------------
Sat Jan 15 19:17:53 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -89,7 +89,11 @@ NBClient is a tool for parameterizing andexecuting Jupyter Notebooks.
%check
export IPYKERNEL_CELL_NAME="<IPY-INPUT>"
# tests on parallel notebooks randomly fail (4 tests) - https://github.com/jupyter/nbclient/pull/74#issuecomment-635929953
%pytest -k 'not parallel_notebooks'
donttest="parallel_notebooks"
# https://github.com/jupyter/nbclient/issues/189
donttest+=" or (test_run_all_notebooks and Interrupt.ipynb)"
# extra -v for more verbose error diffs
%pytest -v -k "not ($donttest)"
%endif
%if ! %{with test}