Skip to content

Commit 67b44ce

Browse files
committed
fix flaky bash_kernel glitch
1 parent abdb41c commit 67b44ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_execute.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,12 +621,16 @@ def test_bash_kernel(doctree):
621621
if sys.platform == 'win32':
622622
pytest.skip("Not trying bash on windows.")
623623

624+
# we set enable-bracketed-paste off
625+
# to avoid bash_kernel accidentally raising errors
626+
# (related to https://github.com/takluyver/bash_kernel/issues/107)
624627
source = """
625628
.. jupyter-kernel:: bash
626629
:id: test
627630
628631
.. jupyter-execute::
629632
633+
bind 'set enable-bracketed-paste off'
630634
echo "foo"
631635
"""
632636
with warnings.catch_warnings():

0 commit comments

Comments
 (0)