Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.5.5: pytest warnings and errors #693

Closed
kloczek opened this issue Jun 20, 2021 · 4 comments
Closed

5.5.5: pytest warnings and errors #693

kloczek opened this issue Jun 20, 2021 · 4 comments

Comments

@kloczek
Copy link

kloczek commented Jun 20, 2021

Just normal build, install and test cycle used on building package from non-root account:

  • "setup.py build"
  • "setup.py install --root </install/prefix>"
  • "pytest with PYTHONPATH pointing to setearch and sitelib inside </install/prefix>
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-ipykernel-5.5.5-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-ipykernel-5.5.5-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ PYTHONDONTWRITEBYTECODE=1
+ /usr/bin/pytest -ra ipykernel
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.9, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, httpbin-1.0.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, case-1.5.3, isort-1.3.0, aspectlib-1.5.2, asyncio-0.15.1, toolbox-0.5, xprocess-0.17.1, aiohttp-0.3.0, checkdocs-2.7.0, mock-3.6.1, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, pyfakefs-4.5.0, cases-3.6.1, flaky-3.7.0, hypothesis-6.14.0, benchmark-3.4.1, xdist-2.3.0, Faker-8.8.1
collected 113 items

ipykernel/inprocess/tests/test_kernel.py .s..                                                                                                                        [  3%]
ipykernel/inprocess/tests/test_kernelmanager.py F..F.                                                                                                                [  7%]
ipykernel/tests/test_async.py EEEE                                                                                                                                   [ 11%]
ipykernel/tests/test_connect.py .....                                                                                                                                [ 15%]
ipykernel/tests/test_embed_kernel.py FFF                                                                                                                             [ 18%]
ipykernel/tests/test_eventloop.py E                                                                                                                                  [ 19%]
ipykernel/tests/test_heartbeat.py ....                                                                                                                               [ 23%]
ipykernel/tests/test_io.py .                                                                                                                                         [ 23%]
ipykernel/tests/test_jsonutil.py .....                                                                                                                               [ 28%]
ipykernel/tests/test_kernel.py FFFFFFFFF.FssFsF..                                                                                                                    [ 44%]
ipykernel/tests/test_kernelspec.py .............                                                                                                                     [ 55%]
ipykernel/tests/test_message_spec.py EEEEEEEEEEEEEEEEEEEEEEE                                                                                                         [ 76%]
ipykernel/tests/test_pickleutil.py .....                                                                                                                             [ 80%]
ipykernel/tests/test_serialize.py ..............                                                                                                                     [ 92%]
ipykernel/tests/test_start_kernel.py FF                                                                                                                              [ 94%]
ipykernel/tests/test_zmq_shell.py ......                                                                                                                             [100%]

================================================================================== ERRORS ==================================================================================
____________________________________________________________________ ERROR at setup of test_async_await ____________________________________________________________________

    def setup_function():
        """start the global kernel (if it isn't running) and return its client"""
        global KM, KC
        KM, KC = start_new_kernel()
>       flush_channels(KC)

ipykernel/tests/test_async.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05e40496a0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_____________________________________________________________ ERROR at setup of test_async_interrupt[asyncio] ______________________________________________________________

    def setup_function():
        """start the global kernel (if it isn't running) and return its client"""
        global KM, KC
        KM, KC = start_new_kernel()
>       flush_channels(KC)

ipykernel/tests/test_async.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dba46250>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_______________________________________________________________ ERROR at setup of test_async_interrupt[trio] _______________________________________________________________

    def setup_function():
        """start the global kernel (if it isn't running) and return its client"""
        global KM, KC
        KM, KC = start_new_kernel()
>       flush_channels(KC)

ipykernel/tests/test_async.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05e403b4f0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
______________________________________________________________ ERROR at setup of test_async_interrupt[curio] _______________________________________________________________

    def setup_function():
        """start the global kernel (if it isn't running) and return its client"""
        global KM, KC
        KM, KC = start_new_kernel()
>       flush_channels(KC)

ipykernel/tests/test_async.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05e4014fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_________________________________________________________________ ERROR at setup of test_asyncio_interrupt _________________________________________________________________

    def setup():
        """start the global kernel (if it isn't running) and return its client"""
        global KM, KC
        KM, KC = start_new_kernel()
>       flush_channels(KC)

ipykernel/tests/test_eventloop.py:17:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05db80f970>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
______________________________________________________________________ ERROR at setup of test_execute ______________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
__________________________________________________________________ ERROR at setup of test_execute_silent ___________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
___________________________________________________________________ ERROR at setup of test_execute_error ___________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
____________________________________________________________________ ERROR at setup of test_execute_inc ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_______________________________________________________________ ERROR at setup of test_execute_stop_on_error _______________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_____________________________________________________________ ERROR at setup of test_non_execute_stop_on_error _____________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_________________________________________________________________ ERROR at setup of test_user_expressions __________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_______________________________________________________________ ERROR at setup of test_user_expressions_fail _______________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_______________________________________________________________________ ERROR at setup of test_oinfo _______________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
____________________________________________________________________ ERROR at setup of test_oinfo_found ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
___________________________________________________________________ ERROR at setup of test_oinfo_detail ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
__________________________________________________________________ ERROR at setup of test_oinfo_not_found __________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_____________________________________________________________________ ERROR at setup of test_complete ______________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
________________________________________________________________ ERROR at setup of test_kernel_info_request ________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
__________________________________________________________________ ERROR at setup of test_connect_request __________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_________________________________________________________________ ERROR at setup of test_comm_info_request _________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
__________________________________________________________________ ERROR at setup of test_single_payload ___________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
____________________________________________________________________ ERROR at setup of test_is_complete ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
___________________________________________________________________ ERROR at setup of test_history_range ___________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
___________________________________________________________________ ERROR at setup of test_history_tail ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
__________________________________________________________________ ERROR at setup of test_history_search ___________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
______________________________________________________________________ ERROR at setup of test_stream _______________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
___________________________________________________________________ ERROR at setup of test_display_data ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
================================================================================= FAILURES =================================================================================
_______________________________________________________________ InProcessKernelManagerTestCase.test_complete _______________________________________________________________

self = <ipykernel.inprocess.tests.test_kernelmanager.InProcessKernelManagerTestCase testMethod=test_complete>

    def test_complete(self):
        """ Does requesting completion from an in-process kernel work?
        """
        km = self.km
        km.start_kernel()
        kc = km.client()
        kc.start_channels()
        kc.wait_for_ready()
        km.kernel.shell.push({'my_bar': 0, 'my_baz': 1})
        kc.complete('my_ba', 5)
>       msg = kc.get_shell_msg()
E       AttributeError: 'BlockingInProcessKernelClient' object has no attribute 'get_shell_msg'

ipykernel/inprocess/tests/test_kernelmanager.py:73: AttributeError
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
status
_______________________________________________________________ InProcessKernelManagerTestCase.test_inspect ________________________________________________________________

self = <ipykernel.inprocess.tests.test_kernelmanager.InProcessKernelManagerTestCase testMethod=test_inspect>

    def test_inspect(self):
        """ Does requesting object information from an in-process kernel work?
        """
        km = self.km
        km.start_kernel()
        kc = km.client()
        kc.start_channels()
        kc.wait_for_ready()
        km.kernel.shell.user_ns['foo'] = 1
        kc.inspect('foo')
>       msg = kc.get_shell_msg()
E       AttributeError: 'BlockingInProcessKernelClient' object has no attribute 'get_shell_msg'

ipykernel/inprocess/tests/test_kernelmanager.py:88: AttributeError
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
status
_________________________________________________________________________ test_embed_kernel_basic __________________________________________________________________________

    @flaky(max_runs=3)
    def test_embed_kernel_basic():
        """IPython.embed_kernel() is basically functional"""
        cmd = '\n'.join([
            'from IPython import embed_kernel',
            'def go():',
            '    a=5',
            '    b="hi there"',
            '    embed_kernel()',
            'go()',
            '',
        ])

        with setup_kernel(cmd) as client:
            # oinfo a (int)
            msg_id = client.inspect('a')
>           msg = client.get_shell_msg(block=True, timeout=TIMEOUT)

ipykernel/tests/test_embed_kernel.py:98:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05d35e0d60>, args = (), kwargs = {'block': True, 'timeout': 15}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_______________________________________________________________________ test_embed_kernel_namespace ________________________________________________________________________

    @flaky(max_runs=3)
    def test_embed_kernel_namespace():
        """IPython.embed_kernel() inherits calling namespace"""
        cmd = '\n'.join([
            'from IPython import embed_kernel',
            'def go():',
            '    a=5',
            '    b="hi there"',
            '    embed_kernel()',
            'go()',
            '',
        ])

        with setup_kernel(cmd) as client:
            # oinfo a (int)
            msg_id = client.inspect('a')
>           msg = client.get_shell_msg(block=True, timeout=TIMEOUT)

ipykernel/tests/test_embed_kernel.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05db94d3a0>, args = (), kwargs = {'block': True, 'timeout': 15}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_______________________________________________________________________ test_embed_kernel_reentrant ________________________________________________________________________

    @flaky(max_runs=3)
    def test_embed_kernel_reentrant():
        """IPython.embed_kernel() can be called multiple times"""
        cmd = '\n'.join([
            'from IPython import embed_kernel',
            'count = 0',
            'def go():',
            '    global count',
            '    embed_kernel()',
            '    count = count + 1',
            '',
            'while True:'
            '    go()',
            '',
        ])

        with setup_kernel(cmd) as client:
            for i in range(5):
                msg_id = client.inspect('count')
>               msg = client.get_shell_msg(block=True, timeout=TIMEOUT)

ipykernel/tests/test_embed_kernel.py:171:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05e4147d00>, args = (), kwargs = {'block': True, 'timeout': 15}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
____________________________________________________________________________ test_simple_print _____________________________________________________________________________

    def test_simple_print():
        """simple print statement in kernel"""
        with kernel() as kc:
            iopub = kc.iopub_channel
            msg_id, content = execute(kc=kc, code="print ('hi')")
>           stdout, stderr = assemble_output(iopub)

ipykernel/tests/test_kernel.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

iopub = <jupyter_client.channels.ZMQSocketChannel object at 0x7f05dbd46790>

    def assemble_output(iopub):
        """assemble stdout/err from an execution"""
        stdout = ''
        stderr = ''
        while True:
>           msg = iopub.get_msg(block=True, timeout=1)
E           TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:157: TypeError
______________________________________________________________________________ test_sys_path _______________________________________________________________________________

    def test_sys_path():
        """test that sys.path doesn't get messed up by default"""
>       with kernel() as kc:

ipykernel/tests/test_kernel.py:57:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:113: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
________________________________________________________________________ test_sys_path_profile_dir _________________________________________________________________________

    def test_sys_path_profile_dir():
        """test that sys.path doesn't get messed up when `--profile-dir` is specified"""

        with new_kernel(['--profile-dir', locate_profile('default')]) as kc:
            msg_id, content = execute(kc=kc, code="import sys; print(repr(sys.path))")
>           stdout, stderr = assemble_output(kc.iopub_channel)

ipykernel/tests/test_kernel.py:72:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

iopub = <jupyter_client.channels.ZMQSocketChannel object at 0x7f05dbb34dc0>

    def assemble_output(iopub):
        """assemble stdout/err from an execution"""
        stdout = ''
        stderr = ''
        while True:
>           msg = iopub.get_msg(block=True, timeout=1)
E           TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:157: TypeError
__________________________________________________________________________ test_subprocess_print ___________________________________________________________________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/test_kernel.py:90: in test_subprocess_print
    _check_master(kc, expected=True)
ipykernel/tests/test_kernel.py:30: in _check_master
    flush_channels(kc)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbc409a0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_________________________________________________________________________ test_subprocess_noprint __________________________________________________________________________

    @flaky(max_runs=3)
    def test_subprocess_noprint():
        """mp.Process without print doesn't trigger iostream mp_mode"""
>       with kernel() as kc:

ipykernel/tests/test_kernel.py:115:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:113: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
__________________________________________________________________________ test_subprocess_error ___________________________________________________________________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/test_kernel.py:153: in test_subprocess_error
    stdout, stderr = assemble_output(iopub)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

iopub = <jupyter_client.channels.ZMQSocketChannel object at 0x7f05db66c9a0>

    def assemble_output(iopub):
        """assemble stdout/err from an execution"""
        stdout = ''
        stderr = ''
        while True:
>           msg = iopub.get_msg(block=True, timeout=1)
E           TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:157: TypeError
______________________________________________________________________________ test_raw_input ______________________________________________________________________________

    def test_raw_input():
        """test input"""
>       with kernel() as kc:

ipykernel/tests/test_kernel.py:164:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:113: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
____________________________________________________________________________ test_save_history _____________________________________________________________________________

    def test_save_history():
        # Saving history from the kernel with %hist -f was failing because of
        # unicode problems on Python 2.
>       with kernel() as kc, TemporaryDirectory() as td:

ipykernel/tests/test_kernel.py:186:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:113: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_________________________________________________________________________ test_smoke_faulthandler __________________________________________________________________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/test_kernel.py:202: in test_smoke_faulthandler
    with kernel() as kc:
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:113: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
_____________________________________________________________________________ test_is_complete _____________________________________________________________________________

    def test_is_complete():
>       with kernel() as kc:

ipykernel/tests/test_kernel.py:221:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:113: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
____________________________________________________________________________ test_message_order ____________________________________________________________________________

    def test_message_order():
        N = 100  # number of messages to test
>       with kernel() as kc:

ipykernel/tests/test_kernel.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:113: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:100: in start_global_kernel
    flush_channels(KC)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05dbd46fd0>

    def flush_channels(kc=None):
        """flush any messages waiting on the queue"""
        from .test_message_spec import validate_message

        if kc is None:
            kc = KC
        for channel in (kc.shell_channel, kc.iopub_channel):
            while True:
                try:
>                   msg = channel.get_msg(block=True, timeout=0.1)
E                   TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:49: TypeError
______________________________________________________________________________ test_shutdown _______________________________________________________________________________

    def test_shutdown():
        """Kernel exits after polite shutdown_request"""
        with new_kernel() as kc:
            km = kc.parent
            execute('a = 1', kc=kc)
>           wait_for_idle(kc)

ipykernel/tests/test_kernel.py:341:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05db86c2e0>

    def wait_for_idle(kc):
        while True:
>           msg = kc.iopub_channel.get_msg(block=True, timeout=1)
E           TypeError: get_msg() got an unexpected keyword argument 'block'

ipykernel/tests/utils.py:177: TypeError
_____________________________________________________________________ test_ipython_start_kernel_userns _____________________________________________________________________

    @flaky(max_runs=3)
    def test_ipython_start_kernel_userns():
        cmd = ('from IPython import start_kernel\n'
               'ns = {"tre": 123}\n'
               'start_kernel(user_ns=ns)')

        with setup_kernel(cmd) as client:
            msg_id = client.inspect('tre')
>           msg = client.get_shell_msg(block=True, timeout=TIMEOUT)

ipykernel/tests/test_start_kernel.py:15:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05db659e50>, args = (), kwargs = {'block': True, 'timeout': 15}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
___________________________________________________________________ test_ipython_start_kernel_no_userns ____________________________________________________________________

    @flaky(max_runs=3)
    def test_ipython_start_kernel_no_userns():
        # Issue #4188 - user_ns should be passed to shell as None, not {}
        cmd = ('from IPython import start_kernel\n'
               'start_kernel()')

        with setup_kernel(cmd) as client:
            # user_module should not be an instance of DummyMod
            msg_id = client.execute("usermod = get_ipython().user_module")
>           msg = client.get_shell_msg(block=True, timeout=TIMEOUT)

ipykernel/tests/test_start_kernel.py:43:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f05e4156550>, args = (), kwargs = {'block': True, 'timeout': 15}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
============================================================================= warnings summary =============================================================================
ipykernel/zmqshell.py:57
  /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/zmqshell.py:57: DeprecationWarning: ipykernel.datapub is deprecated. It has moved to ipyparallel.datapub
    from ipykernel.datapub import ZMQDataPublisher

ipykernel/datapub.py:21
  /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/datapub.py:21: DeprecationWarning: ipykernel.serialize is deprecated. It has moved to ipyparallel.serialize
    from ipykernel.serialize import serialize_object

ipykernel/serialize.py:25
  /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/serialize.py:25: DeprecationWarning: ipykernel.pickleutil is deprecated. It has moved to ipyparallel.
    from ipykernel.pickleutil import (

ipykernel/pickleutil.py:26
  /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/pickleutil.py:26: DeprecationWarning: ipykernel.codeutil is deprecated since IPykernel 4.3.1. It has moved to ipyparallel.serialize
    from ipykernel import codeutil

ipykernel/inprocess/tests/test_kernel.py: 15 warnings
ipykernel/inprocess/tests/test_kernelmanager.py: 21 warnings
  /usr/lib/python3.8/site-packages/jupyter_client/session.py:910: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_getpass_stream
  /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/inprocess/tests/test_kernel.py:108: UserWarning: The `stream` parameter of `getpass.getpass` will have no effect when using ipykernel
    kernel.getpass(stream='non empty')

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_raw_input
ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_stdout
ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_execute
ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_history
  /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/ipkernel.py:283: DeprecationWarning: `should_run_async` will not call `transform_cell` automatically in the future. Please pass the result to `transformed_cell` argument and any exception that happen during thetransform in `preprocessing_exc_tuple` in IPython 7.17 and above.
    and should_run_async(code)

ipykernel/tests/test_serialize.py::test_numpy
  /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_serialize.py:72: DeprecationWarning: Importing from numpy.testing.utils is deprecated since 1.15.0, import from numpy.testing instead.
    from numpy.testing.utils import assert_array_equal

-- Docs: https://docs.pytest.org/en/stable/warnings.html
===Flaky Test Report===

test_embed_kernel_basic failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_embed_kernel.py:98>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_basic failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_embed_kernel.py:98>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_basic failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_embed_kernel.py:98>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_namespace failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_embed_kernel.py:132>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_namespace failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_embed_kernel.py:132>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_namespace failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_embed_kernel.py:132>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_reentrant failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_embed_kernel.py:171>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_reentrant failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_embed_kernel.py:171>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_reentrant failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_embed_kernel.py:171>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_subprocess_print failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:90>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:30>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:49>]
test_subprocess_print failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:90>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:30>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:49>]
test_subprocess_print failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:90>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:30>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:49>]
test_subprocess_noprint failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:115>, <TracebackEntry /usr/lib64/python3.8/contextlib.py:113>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:113>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:100>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:49>]
test_subprocess_noprint failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:115>, <TracebackEntry /usr/lib64/python3.8/contextlib.py:113>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:113>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:100>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:49>]
test_subprocess_noprint failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:115>, <TracebackEntry /usr/lib64/python3.8/contextlib.py:113>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:113>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:100>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:49>]
test_subprocess_error failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:153>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:157>]
test_subprocess_error failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:153>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:157>]
test_subprocess_error failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_kernel.py:153>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/utils.py:157>]
test_ipython_start_kernel_userns failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_start_kernel.py:15>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_ipython_start_kernel_userns failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_start_kernel.py:15>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_ipython_start_kernel_userns failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_start_kernel.py:15>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_ipython_start_kernel_no_userns failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_start_kernel.py:43>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_ipython_start_kernel_no_userns failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_start_kernel.py:43>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_ipython_start_kernel_no_userns failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-5.5.5/ipykernel/tests/test_start_kernel.py:43>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]

===End Flaky Test Report===
========================================================================= short test summary info ==========================================================================
SKIPPED [1] ipykernel/inprocess/tests/test_kernel.py:64: Skipping test: test_pylab. This test requires matplotlib
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Skipping test: test_complete. only run on Windows
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Skipping test: test_matplotlib_inline_on_import. This test requires matplotlib
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Skipping test: test_unc_paths. Test skipped due to test condition.
ERROR ipykernel/tests/test_async.py::test_async_await - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_async.py::test_async_interrupt[asyncio] - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_async.py::test_async_interrupt[trio] - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_async.py::test_async_interrupt[curio] - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_eventloop.py::test_asyncio_interrupt - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_execute - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_execute_silent - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_execute_error - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_execute_inc - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_execute_stop_on_error - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_non_execute_stop_on_error - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_user_expressions - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_user_expressions_fail - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_oinfo - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_oinfo_found - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_oinfo_detail - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_oinfo_not_found - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_complete - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_kernel_info_request - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_connect_request - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_comm_info_request - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_single_payload - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_is_complete - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_history_range - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_history_tail - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_history_search - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_stream - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_display_data - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_complete - AttributeError: 'BlockingInProcessKernelClient' object has no att...
FAILED ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_inspect - AttributeError: 'BlockingInProcessKernelClient' object has no attr...
FAILED ipykernel/tests/test_embed_kernel.py::test_embed_kernel_basic - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_embed_kernel.py::test_embed_kernel_namespace - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_embed_kernel.py::test_embed_kernel_reentrant - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_simple_print - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_sys_path - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_sys_path_profile_dir - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_subprocess_print - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_subprocess_noprint - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_subprocess_error - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_raw_input - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_save_history - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_smoke_faulthandler - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_is_complete - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_message_order - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_shutdown - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_start_kernel.py::test_ipython_start_kernel_userns - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_start_kernel.py::test_ipython_start_kernel_no_userns - TypeError: get_msg() got an unexpected keyword argument 'block'
==================================================== 19 failed, 62 passed, 4 skipped, 46 warnings, 28 errors in 39.45s =====================================================
@bnavigator
Copy link

It's all the same error:

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError

This is also true with ipykernel 6.0.0rc2.

TL;DR: jupyter_client 6.2 breaks ipykernel, the yanked it from PyPI

@kloczek
Copy link
Author

kloczek commented Jul 15, 2021

Just tested ipykernel 6.0.2 and still it is a lot of errors ain fails.

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-ipykernel-6.0.2-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-ipykernel-6.0.2-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.11, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, httpbin-1.0.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, case-1.5.3, isort-1.3.0, aspectlib-1.5.2, asyncio-0.15.1, toolbox-0.5, xprocess-0.17.1, aiohttp-0.3.0, checkdocs-2.7.0, mock-3.6.1, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, pyfakefs-4.5.0, flaky-3.7.0, hypothesis-6.14.0, benchmark-3.4.1, xdist-2.3.0, pylama-7.7.1, datadir-1.3.1, regressions-2.2.0, cases-3.6.3, Faker-8.10.0
collected 107 items

. .                                                                                                                                                                  [  0%]
ipykernel/inprocess/tests/test_kernel.py s.s..                                                                                                                       [  5%]
ipykernel/inprocess/tests/test_kernelmanager.py .....                                                                                                                [ 10%]
ipykernel/tests/test_async.py EEEE                                                                                                                                   [ 14%]
ipykernel/tests/test_connect.py .....                                                                                                                                [ 19%]
ipykernel/tests/test_embed_kernel.py FFF                                                                                                                             [ 21%]
ipykernel/tests/test_eventloop.py E                                                                                                                                  [ 22%]
ipykernel/tests/test_heartbeat.py ....                                                                                                                               [ 26%]
ipykernel/tests/test_io.py ..                                                                                                                                        [ 28%]
ipykernel/tests/test_jsonutil.py .....                                                                                                                               [ 33%]
ipykernel/tests/test_kernel.py FssFFFFFFFF.FssFsF...                                                                                                                 [ 53%]
ipykernel/tests/test_kernelspec.py .............                                                                                                                     [ 65%]
ipykernel/tests/test_message_spec.py EEEEEEEEEEEEEEEEEEEEEEE                                                                                                         [ 87%]
ipykernel/tests/test_pickleutil.py .....                                                                                                                             [ 92%]
ipykernel/tests/test_start_kernel.py FF                                                                                                                              [ 94%]
ipykernel/tests/test_zmq_shell.py ......                                                                                                                             [100%]

================================================================================== ERRORS ==================================================================================
____________________________________________________________________ ERROR at setup of test_async_await ____________________________________________________________________

    def setup_function():
        """start the global kernel (if it isn't running) and return its client"""
        global KM, KC
        KM, KC = start_new_kernel()
>       flush_channels(KC)

ipykernel/tests/test_async.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f019e0429d0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_____________________________________________________________ ERROR at setup of test_async_interrupt[asyncio] ______________________________________________________________

    def setup_function():
        """start the global kernel (if it isn't running) and return its client"""
        global KM, KC
        KM, KC = start_new_kernel()
>       flush_channels(KC)

ipykernel/tests/test_async.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f019e1fad00>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_______________________________________________________________ ERROR at setup of test_async_interrupt[trio] _______________________________________________________________

    def setup_function():
        """start the global kernel (if it isn't running) and return its client"""
        global KM, KC
        KM, KC = start_new_kernel()
>       flush_channels(KC)

ipykernel/tests/test_async.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f0195c578e0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
______________________________________________________________ ERROR at setup of test_async_interrupt[curio] _______________________________________________________________

    def setup_function():
        """start the global kernel (if it isn't running) and return its client"""
        global KM, KC
        KM, KC = start_new_kernel()
>       flush_channels(KC)

ipykernel/tests/test_async.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f0195b3a370>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_________________________________________________________________ ERROR at setup of test_asyncio_interrupt _________________________________________________________________

    def setup():
        """start the global kernel (if it isn't running) and return its client"""
        global KM, KC
        KM, KC = start_new_kernel()
>       flush_channels(KC)

ipykernel/tests/test_eventloop.py:17:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f0195a04fa0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
______________________________________________________________________ ERROR at setup of test_execute ______________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
__________________________________________________________________ ERROR at setup of test_execute_silent ___________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
___________________________________________________________________ ERROR at setup of test_execute_error ___________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
____________________________________________________________________ ERROR at setup of test_execute_inc ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_______________________________________________________________ ERROR at setup of test_execute_stop_on_error _______________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_____________________________________________________________ ERROR at setup of test_non_execute_stop_on_error _____________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_________________________________________________________________ ERROR at setup of test_user_expressions __________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_______________________________________________________________ ERROR at setup of test_user_expressions_fail _______________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_______________________________________________________________________ ERROR at setup of test_oinfo _______________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
____________________________________________________________________ ERROR at setup of test_oinfo_found ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
___________________________________________________________________ ERROR at setup of test_oinfo_detail ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
__________________________________________________________________ ERROR at setup of test_oinfo_not_found __________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_____________________________________________________________________ ERROR at setup of test_complete ______________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
________________________________________________________________ ERROR at setup of test_kernel_info_request ________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
__________________________________________________________________ ERROR at setup of test_connect_request __________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_________________________________________________________________ ERROR at setup of test_comm_info_request _________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
__________________________________________________________________ ERROR at setup of test_single_payload ___________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
____________________________________________________________________ ERROR at setup of test_is_complete ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
___________________________________________________________________ ERROR at setup of test_history_range ___________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
___________________________________________________________________ ERROR at setup of test_history_tail ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
__________________________________________________________________ ERROR at setup of test_history_search ___________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
______________________________________________________________________ ERROR at setup of test_stream _______________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
___________________________________________________________________ ERROR at setup of test_display_data ____________________________________________________________________

    def setup():
        global KC
>       KC = start_global_kernel()

ipykernel/tests/test_message_spec.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
================================================================================= FAILURES =================================================================================
_________________________________________________________________________ test_embed_kernel_basic __________________________________________________________________________

    @flaky(max_runs=3)
    def test_embed_kernel_basic():
        """IPython.embed_kernel() is basically functional"""
        cmd = '\n'.join([
            'from IPython import embed_kernel',
            'def go():',
            '    a=5',
            '    b="hi there"',
            '    embed_kernel()',
            'go()',
            '',
        ])

        with setup_kernel(cmd) as client:
            # oinfo a (int)
            client.inspect("a")
>           msg = client.get_shell_msg(block=True, timeout=TIMEOUT)

ipykernel/tests/test_embed_kernel.py:98:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f0195a07af0>, args = (), kwargs = {'block': True, 'timeout': 15}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_______________________________________________________________________ test_embed_kernel_namespace ________________________________________________________________________

    @flaky(max_runs=3)
    def test_embed_kernel_namespace():
        """IPython.embed_kernel() inherits calling namespace"""
        cmd = '\n'.join([
            'from IPython import embed_kernel',
            'def go():',
            '    a=5',
            '    b="hi there"',
            '    embed_kernel()',
            'go()',
            '',
        ])

        with setup_kernel(cmd) as client:
            # oinfo a (int)
            client.inspect("a")
>           msg = client.get_shell_msg(block=True, timeout=TIMEOUT)

ipykernel/tests/test_embed_kernel.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f018d72bac0>, args = (), kwargs = {'block': True, 'timeout': 15}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_______________________________________________________________________ test_embed_kernel_reentrant ________________________________________________________________________

    @flaky(max_runs=3)
    def test_embed_kernel_reentrant():
        """IPython.embed_kernel() can be called multiple times"""
        cmd = '\n'.join([
            'from IPython import embed_kernel',
            'count = 0',
            'def go():',
            '    global count',
            '    embed_kernel()',
            '    count = count + 1',
            '',
            'while True:'
            '    go()',
            '',
        ])

        with setup_kernel(cmd) as client:
            for i in range(5):
                client.inspect("count")
>               msg = client.get_shell_msg(block=True, timeout=TIMEOUT)

ipykernel/tests/test_embed_kernel.py:171:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f0195906040>, args = (), kwargs = {'block': True, 'timeout': 15}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
____________________________________________________________________________ test_simple_print _____________________________________________________________________________

    def test_simple_print():
        """simple print statement in kernel"""
        with kernel() as kc:
            msg_id, content = execute(kc=kc, code="print('hi')")
>           stdout, stderr = assemble_output(kc.get_iopub_msg)

ipykernel/tests/test_kernel.py:48:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:158: in assemble_output
    msg = get_msg(block=True, timeout=1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 1}

    async def _async_get_iopub_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the iopub channel"""
>       return await self.iopub_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:125: TypeError
______________________________________________________________________________ test_sys_path _______________________________________________________________________________

    def test_sys_path():
        """test that sys.path doesn't get messed up by default"""
>       with kernel() as kc:

ipykernel/tests/test_kernel.py:87:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:114: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
________________________________________________________________________ test_sys_path_profile_dir _________________________________________________________________________

    def test_sys_path_profile_dir():
        """test that sys.path doesn't get messed up when `--profile-dir` is specified"""

        with new_kernel(['--profile-dir', locate_profile('default')]) as kc:
            msg_id, content = execute(kc=kc, code="import sys; print(repr(sys.path))")
>           stdout, stderr = assemble_output(kc.get_iopub_msg)

ipykernel/tests/test_kernel.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:158: in assemble_output
    msg = get_msg(block=True, timeout=1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f018d611670>, args = (), kwargs = {'block': True, 'timeout': 1}

    async def _async_get_iopub_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the iopub channel"""
>       return await self.iopub_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:125: TypeError
__________________________________________________________________________ test_subprocess_print ___________________________________________________________________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/test_kernel.py:119: in test_subprocess_print
    _check_master(kc, expected=True)
ipykernel/tests/test_kernel.py:30: in _check_master
    flush_channels(kc)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f019594feb0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_________________________________________________________________________ test_subprocess_noprint __________________________________________________________________________

    @flaky(max_runs=3)
    def test_subprocess_noprint():
        """mp.Process without print doesn't trigger iostream mp_mode"""
>       with kernel() as kc:

ipykernel/tests/test_kernel.py:144:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:114: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
__________________________________________________________________________ test_subprocess_error ___________________________________________________________________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/test_kernel.py:180: in test_subprocess_error
    stdout, stderr = assemble_output(kc.get_iopub_msg)
ipykernel/tests/utils.py:158: in assemble_output
    msg = get_msg(block=True, timeout=1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f018d6dda90>, args = (), kwargs = {'block': True, 'timeout': 1}

    async def _async_get_iopub_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the iopub channel"""
>       return await self.iopub_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:125: TypeError
______________________________________________________________________________ test_raw_input ______________________________________________________________________________

    def test_raw_input():
        """test input"""
>       with kernel() as kc:

ipykernel/tests/test_kernel.py:191:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:114: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
____________________________________________________________________________ test_save_history _____________________________________________________________________________

    def test_save_history():
        # Saving history from the kernel with %hist -f was failing because of
        # unicode problems on Python 2.
>       with kernel() as kc, TemporaryDirectory() as td:

ipykernel/tests/test_kernel.py:213:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:114: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_________________________________________________________________________ test_smoke_faulthandler __________________________________________________________________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/test_kernel.py:229: in test_smoke_faulthandler
    with kernel() as kc:
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:114: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
_____________________________________________________________________________ test_is_complete _____________________________________________________________________________

    def test_is_complete():
>       with kernel() as kc:

ipykernel/tests/test_kernel.py:248:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:114: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
____________________________________________________________________________ test_message_order ____________________________________________________________________________

    def test_message_order():
        N = 100  # number of messages to test
>       with kernel() as kc:

ipykernel/tests/test_kernel.py:316:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/contextlib.py:113: in __enter__
    return next(self.gen)
ipykernel/tests/utils.py:114: in kernel
    yield start_global_kernel()
ipykernel/tests/utils.py:101: in start_global_kernel
    flush_channels(KC)
ipykernel/tests/utils.py:48: in flush_channels
    msg = get_msg(block=True, timeout=0.1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01958ecfd0>, args = (), kwargs = {'block': True, 'timeout': 0.1}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
______________________________________________________________________________ test_shutdown _______________________________________________________________________________

    def test_shutdown():
        """Kernel exits after polite shutdown_request"""
        with new_kernel() as kc:
            km = kc.parent
            execute('a = 1', kc=kc)
>           wait_for_idle(kc)

ipykernel/tests/test_kernel.py:366:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipykernel/tests/utils.py:178: in wait_for_idle
    msg = kc.get_iopub_msg(block=True, timeout=1)
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f018d67c100>, args = (), kwargs = {'block': True, 'timeout': 1}

    async def _async_get_iopub_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the iopub channel"""
>       return await self.iopub_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:125: TypeError
_____________________________________________________________________ test_ipython_start_kernel_userns _____________________________________________________________________

    @flaky(max_runs=3)
    def test_ipython_start_kernel_userns():
        cmd = ('from IPython import start_kernel\n'
               'ns = {"tre": 123}\n'
               'start_kernel(user_ns=ns)')

        with setup_kernel(cmd) as client:
            client.inspect("tre")
>           msg = client.get_shell_msg(block=True, timeout=TIMEOUT)

ipykernel/tests/test_start_kernel.py:15:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f01959c8fa0>, args = (), kwargs = {'block': True, 'timeout': 15}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
___________________________________________________________________ test_ipython_start_kernel_no_userns ____________________________________________________________________

    @flaky(max_runs=3)
    def test_ipython_start_kernel_no_userns():
        # Issue #4188 - user_ns should be passed to shell as None, not {}
        cmd = ('from IPython import start_kernel\n'
               'start_kernel()')

        with setup_kernel(cmd) as client:
            # user_module should not be an instance of DummyMod
            client.execute("usermod = get_ipython().user_module")
>           msg = client.get_shell_msg(block=True, timeout=TIMEOUT)

ipykernel/tests/test_start_kernel.py:43:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/jupyter_client/utils.py:25: in wrapped
    return loop.run_until_complete(coro(*args, **kwargs))
/usr/lib/python3.8/site-packages/nest_asyncio.py:70: in run_until_complete
    return f.result()
/usr/lib64/python3.8/asyncio/futures.py:178: in result
    raise self._exception
/usr/lib64/python3.8/asyncio/tasks.py:280: in __step
    result = coro.send(None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.blocking.client.BlockingKernelClient object at 0x7f0195c92640>, args = (), kwargs = {'block': True, 'timeout': 15}

    async def _async_get_shell_msg(self, *args, **kwargs) -> t.Dict[str, t.Any]:
        """Get a message from the shell channel"""
>       return await self.shell_channel.get_msg(*args, **kwargs)
E       TypeError: get_msg() got an unexpected keyword argument 'block'

/usr/lib/python3.8/site-packages/jupyter_client/client.py:121: TypeError
============================================================================= warnings summary =============================================================================
ipykernel/tests/test_pickleutil.py:4
  /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_pickleutil.py:4: DeprecationWarning: ipykernel.pickleutil is deprecated. It has moved to ipyparallel.
    from ipykernel.pickleutil import can, uncan

ipykernel/inprocess/tests/test_kernel.py: 15 warnings
ipykernel/inprocess/tests/test_kernelmanager.py: 21 warnings
  /usr/lib/python3.8/site-packages/jupyter_client/session.py:910: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_getpass_stream
  /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/inprocess/tests/test_kernel.py:126: UserWarning: The `stream` parameter of `getpass.getpass` will have no effect when using ipykernel
    kernel.getpass(stream='non empty')

-- Docs: https://docs.pytest.org/en/stable/warnings.html
===Flaky Test Report===

test_embed_kernel_basic failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_embed_kernel.py:98>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_basic failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_embed_kernel.py:98>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_basic failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_embed_kernel.py:98>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_namespace failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_embed_kernel.py:132>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_namespace failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_embed_kernel.py:132>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_namespace failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_embed_kernel.py:132>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_reentrant failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_embed_kernel.py:171>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_reentrant failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_embed_kernel.py:171>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_embed_kernel_reentrant failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_embed_kernel.py:171>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_subprocess_print failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:119>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:30>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:48>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_subprocess_print failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:119>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:30>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:48>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_subprocess_print failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:119>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:30>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:48>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_subprocess_noprint failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:144>, <TracebackEntry /usr/lib64/python3.8/contextlib.py:113>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:114>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:101>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:48>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_subprocess_noprint failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:144>, <TracebackEntry /usr/lib64/python3.8/contextlib.py:113>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:114>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:101>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:48>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_subprocess_noprint failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:144>, <TracebackEntry /usr/lib64/python3.8/contextlib.py:113>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:114>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:101>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:48>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_subprocess_error failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:180>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:158>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:125>]
test_subprocess_error failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:180>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:158>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:125>]
test_subprocess_error failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /usr/lib/python3.8/site-packages/IPython/testing/decorators.py:212>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_kernel.py:180>, <TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/utils.py:158>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:125>]
test_ipython_start_kernel_userns failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_start_kernel.py:15>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_ipython_start_kernel_userns failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_start_kernel.py:15>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_ipython_start_kernel_userns failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_start_kernel.py:15>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_ipython_start_kernel_no_userns failed (2 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_start_kernel.py:43>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_ipython_start_kernel_no_userns failed (1 runs remaining out of 3).
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_start_kernel.py:43>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]
test_ipython_start_kernel_no_userns failed; it passed 0 out of the required 1 times.
        <class 'TypeError'>
        get_msg() got an unexpected keyword argument 'block'
        [<TracebackEntry /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_start_kernel.py:43>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/utils.py:25>, <TracebackEntry /usr/lib/python3.8/site-packages/nest_asyncio.py:70>, <TracebackEntry /usr/lib64/python3.8/asyncio/futures.py:178>, <TracebackEntry /usr/lib64/python3.8/asyncio/tasks.py:280>, <TracebackEntry /usr/lib/python3.8/site-packages/jupyter_client/client.py:121>]

===End Flaky Test Report===
========================================================================= short test summary info ==========================================================================
SKIPPED [1] ipykernel/inprocess/tests/test_kernel.py:102: Currently don't capture during test as pytest does its own capturing
SKIPPED [1] ipykernel/inprocess/tests/test_kernel.py:64: Skipping test: test_pylab. This test requires matplotlib
SKIPPED [1] ipykernel/tests/test_kernel.py:54: Currently don't capture during test as pytest does its own capturing
SKIPPED [1] ipykernel/tests/test_kernel.py:68: Currently don't capture during test as pytest does its own capturing
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Skipping test: test_complete. only run on Windows
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Skipping test: test_matplotlib_inline_on_import. This test requires matplotlib
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Skipping test: test_unc_paths. Test skipped due to test condition.
ERROR ipykernel/tests/test_async.py::test_async_await - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_async.py::test_async_interrupt[asyncio] - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_async.py::test_async_interrupt[trio] - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_async.py::test_async_interrupt[curio] - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_eventloop.py::test_asyncio_interrupt - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_execute - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_execute_silent - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_execute_error - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_execute_inc - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_execute_stop_on_error - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_non_execute_stop_on_error - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_user_expressions - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_user_expressions_fail - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_oinfo - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_oinfo_found - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_oinfo_detail - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_oinfo_not_found - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_complete - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_kernel_info_request - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_connect_request - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_comm_info_request - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_single_payload - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_is_complete - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_history_range - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_history_tail - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_history_search - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_stream - TypeError: get_msg() got an unexpected keyword argument 'block'
ERROR ipykernel/tests/test_message_spec.py::test_display_data - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_embed_kernel.py::test_embed_kernel_basic - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_embed_kernel.py::test_embed_kernel_namespace - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_embed_kernel.py::test_embed_kernel_reentrant - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_simple_print - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_sys_path - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_sys_path_profile_dir - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_subprocess_print - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_subprocess_noprint - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_subprocess_error - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_raw_input - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_save_history - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_smoke_faulthandler - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_is_complete - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_message_order - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_kernel.py::test_shutdown - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_start_kernel.py::test_ipython_start_kernel_userns - TypeError: get_msg() got an unexpected keyword argument 'block'
FAILED ipykernel/tests/test_start_kernel.py::test_ipython_start_kernel_no_userns - TypeError: get_msg() got an unexpected keyword argument 'block'
==================================================== 17 failed, 53 passed, 7 skipped, 38 warnings, 28 errors in 58.81s =====================================================

@kloczek
Copy link
Author

kloczek commented Jul 15, 2021

Just FTR. BElow is only list of warnings aftere add todeselecting all currently failing units

============================================================================= warnings summary =============================================================================
ipykernel/tests/test_pickleutil.py:4
  /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/tests/test_pickleutil.py:4: DeprecationWarning: ipykernel.pickleutil is deprecated. It has moved to ipyparallel.
    from ipykernel.pickleutil import can, uncan

ipykernel/inprocess/tests/test_kernel.py: 15 warnings
ipykernel/inprocess/tests/test_kernelmanager.py: 21 warnings
  /usr/lib/python3.8/site-packages/jupyter_client/session.py:910: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_getpass_stream
  /home/tkloczko/rpmbuild/BUILD/ipykernel-6.0.2/ipykernel/inprocess/tests/test_kernel.py:126: UserWarning: The `stream` parameter of `getpass.getpass` will have no effect when using ipykernel
    kernel.getpass(stream='non empty')

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] ipykernel/inprocess/tests/test_kernel.py:102: Currently don't capture during test as pytest does its own capturing
SKIPPED [1] ipykernel/inprocess/tests/test_kernel.py:64: Skipping test: test_pylab. This test requires matplotlib
SKIPPED [1] ipykernel/tests/test_kernel.py:54: Currently don't capture during test as pytest does its own capturing
SKIPPED [1] ipykernel/tests/test_kernel.py:68: Currently don't capture during test as pytest does its own capturing
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Skipping test: test_complete. only run on Windows
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Skipping test: test_matplotlib_inline_on_import. This test requires matplotlib
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Skipping test: test_unc_paths. Test skipped due to test condition.
======================================================== 53 passed, 7 skipped, 45 deselected, 38 warnings in 22.18s ========================================================

@kloczek
Copy link
Author

kloczek commented Nov 22, 2021

I'll close that ticket as in last version looks like most of the issues has been resolved.

@kloczek kloczek closed this as completed Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants