Skip to content

Commit 0094912

Browse files
committed
try again
1 parent 3539bb1 commit 0094912

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

jupyter_console/tests/test_console.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
from traitlets.tests.utils import check_help_all_output
1515

1616

17-
@pytest.mark.skipif(sys.platform == "win32", reason="skip on windows")
17+
should_skip = sys.platform == "win32" or sys.version_info < (3,8)
18+
19+
20+
@pytest.mark.skipif(should_skip, reason="not supported")
1821
def test_console_starts():
1922
"""test that `jupyter console` starts a terminal"""
2023
p, pexpect, t = start_console()
@@ -28,6 +31,7 @@ def test_help_output():
2831
check_help_all_output('jupyter_console')
2932

3033

34+
@pytest.mark.skipif(should_skip, reason="not supported")
3135
def test_display_text():
3236
"Ensure display protocol plain/text key is supported"
3337
# equivalent of:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
'jupyter_client>=7.0.0',
5353
'ipython',
5454
'ipykernel>=6.14', # bless IPython kernel for now
55-
'prompt_toolkit>=2.0.0,<3.1.0,!=3.0.0,!=3.0.1',
55+
'prompt_toolkit>=3.0.30',
5656
'pygments',
5757
'pyzmq>=17',
5858
'traitlets>=5.4'

0 commit comments

Comments
 (0)