Skip to content

Commit 9cd3afa

Browse files
committed
Skip debug tests if debugpy is not available
1 parent 8b98f3e commit 9cd3afa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ipykernel/tests/test_debugger.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import pytest
22

3-
from .utils import execute, new_kernel, get_reply
3+
from .utils import new_kernel, get_reply
44

55
seq = 0
66

7+
# Skip if debugpy is not available
8+
pytest.importorskip("debugpy")
9+
710

811
def wait_for_debug_request(kernel, command, arguments=None):
912
"""Carry out a debug request and return the reply content.

0 commit comments

Comments
 (0)