Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aioloop-proxy usage draft #312

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a test
  • Loading branch information
asvetlov committed Jan 9, 2022
commit 5bb0f6ae3f638099513b7620ef95d6251f3da896
6 changes: 6 additions & 0 deletions tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,9 @@ def test_async_close_loop(event_loop):
@pytest.mark.xfail(strict=True, raises=asyncio.TimeoutError)
async def test_timeout():
await asyncio.sleep(1)


@pytest.mark.asyncio(timeout="abc")
@pytest.mark.xfail(strict=True, raises=ValueError)
async def test_timeout_not_numeric():
await asyncio.sleep(1)