File: event_loop_example.py

package info (click to toggle)
python-pytest-asyncio 0.25.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 656 kB
  • sloc: python: 3,108; makefile: 26; sh: 1
file content (5 lines) | stat: -rw-r--r-- 110 bytes parent folder | download
1
2
3
4
5
import asyncio


def test_event_loop_fixture(event_loop):
    event_loop.run_until_complete(asyncio.sleep(0))