File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116
116
shell : bash -l {0}
117
117
run : |
118
118
cd ${GITHUB_WORKSPACE}/../qtconsole
119
- xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -x - vv -s --full-trace --color=yes qtconsole
119
+ xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -vv -s --full-trace --color=yes -k "not test_execute" qtconsole
120
120
121
121
spyder_kernels :
122
122
runs-on : ubuntu-latest
@@ -147,4 +147,4 @@ jobs:
147
147
shell : bash -l {0}
148
148
run : |
149
149
cd ${GITHUB_WORKSPACE}/../spyder-kernels
150
- xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -x - vv -s --full-trace --color=yes spyder_kernels
150
+ xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -vv -s --full-trace --color=yes -k 'not test_interrupt and not test_enter_debug_after_interruption' spyder_kernels
Original file line number Diff line number Diff line change 12
12
# -----------------------------------------------------------------------------
13
13
14
14
15
- from typing import Any
15
+ from typing import Any , Optional
16
16
17
17
from jupyter_client .client import KernelClient
18
18
from jupyter_client .clientabc import KernelClientABC
@@ -110,8 +110,8 @@ async def execute( # type:ignore [override]
110
110
code : str ,
111
111
silent : bool = False ,
112
112
store_history : bool = True ,
113
- user_expressions : dict [str , Any ] | None = None ,
114
- allow_stdin : bool | None = None ,
113
+ user_expressions : Optional [ dict [str , Any ]] = None ,
114
+ allow_stdin : Optional [ bool ] = None ,
115
115
stop_on_error : bool = True ,
116
116
) -> str :
117
117
"""Execute code on the client."""
Original file line number Diff line number Diff line change @@ -218,6 +218,7 @@ def test_run_concurrently_timing(include_main_shell):
218
218
assert duration < timedelta (seconds = sum (times ))
219
219
220
220
221
+ @pytest .mark .xfail (strict = False , reason = "subshell still sometime give different results" )
221
222
def test_execution_count ():
222
223
with new_kernel () as kc :
223
224
subshell_id = create_subshell_helper (kc )["subshell_id" ]
You can’t perform that action at this time.
0 commit comments