Skip to content

Warning: "The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10" #102

Description

@michaelyaakoby

When tests are running, the following warnings are logged - all of them are for test-code:

=============================== warnings summary ===============================
tests/test_pyctuator_e2e.py: 72 warnings
tests/test_spring_boot_admin_registration.py: 4 warnings
  /usr/local/lib/python3.9/asyncio/base_events.py:1460: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    infos = await tasks.gather(*fs, loop=self)

tests/test_pyctuator_e2e.py: 72 warnings
tests/test_spring_boot_admin_registration.py: 4 warnings
  /usr/local/lib/python3.9/asyncio/base_events.py:1518: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    await tasks.sleep(0, loop=self)

tests/test_pyctuator_e2e.py: 10 warnings
  /usr/local/lib/python3.9/asyncio/base_events.py:542: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    results = await tasks.gather(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions