pyctuator icon indicating copy to clipboard operation
pyctuator copied to clipboard

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

Open michaelyaakoby opened this issue 1 year ago • 0 comments

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(

michaelyaakoby avatar Aug 04 '23 21:08 michaelyaakoby