Skip to content

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

@michaelyaakoby

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(

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