Skip to content

Commit 5bb0f6a

Browse files
committed
Add a test
1 parent 13844c0 commit 5bb0f6a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_simple.py

+6
Original file line numberDiff line numberDiff line change
@@ -246,3 +246,9 @@ def test_async_close_loop(event_loop):
246246
@pytest.mark.xfail(strict=True, raises=asyncio.TimeoutError)
247247
async def test_timeout():
248248
await asyncio.sleep(1)
249+
250+
251+
@pytest.mark.asyncio(timeout="abc")
252+
@pytest.mark.xfail(strict=True, raises=ValueError)
253+
async def test_timeout_not_numeric():
254+
await asyncio.sleep(1)

0 commit comments

Comments
 (0)