From 2ae3c21e65e3997ad7a209337ab538a9e388846110f27eefb8d147b1b4e97bae Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Mon, 17 Jan 2022 19:51:38 +0000 Subject: [PATCH] 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 --- python-nbclient.changes | 5 +++++ python-nbclient.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-nbclient.changes b/python-nbclient.changes index 3bd56cb..c145c86 100644 --- a/python-nbclient.changes +++ b/python-nbclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 17 19:50:25 UTC 2022 - Ben Greiner + +- Skip a flaky test gh#jupyter/nbclient#189 + ------------------------------------------------------------------- Sat Jan 15 19:17:53 UTC 2022 - Ben Greiner diff --git a/python-nbclient.spec b/python-nbclient.spec index 83f863e..4b61842 100644 --- a/python-nbclient.spec +++ b/python-nbclient.spec @@ -89,7 +89,11 @@ NBClient is a tool for parameterizing andexecuting Jupyter Notebooks. %check export IPYKERNEL_CELL_NAME="" # 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}