Skip to content

Commit

Permalink
add skip
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Nov 20, 2022
1 parent 7e139ee commit 71f1757
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nbclient/tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import pytest
import xmltodict
from jupyter_client import KernelClient, KernelManager
from jupyter_client._version import version_info
from jupyter_client.kernelspec import KernelSpecManager
from nbconvert.filters import strip_ansi
from nbformat import NotebookNode
Expand Down Expand Up @@ -518,6 +519,7 @@ def test_start_new_kernel_history_file_setting():
kc.stop_channels()


@pytest.mark.skipif(int(version_info[0]) < 7, reason="requires client 7+")
def test_start_new_kernel_client_cleans_up_kernel_on_failure():
class FakeClient(KernelClient):
def start_channels(
Expand Down

0 comments on commit 71f1757

Please sign in to comment.