Skip to content

Instantly share code, notes, and snippets.

@gsalgado
Created August 13, 2020 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsalgado/436ba937392541e15b9d5310822a3621 to your computer and use it in GitHub Desktop.
Save gsalgado/436ba937392541e15b9d5310822a3621 to your computer and use it in GitHub Desktop.
import pytest
import time
@pytest.mark.asyncio
async def test_warning():
async def f():
time.sleep(1)
await f()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment