From af08b1c70dee405956437521082ae01b16b8a8df Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Wed, 12 Jul 2023 11:02:40 +0200 Subject: [PATCH] [test] Removed obsolete test "test_async_close_loop". The test simply asserts that the event loop can be closed inside a test. Given that the event_loop fixture returns a regular event loop, this test case simply tests standard-library behavior and is not needed for pytest-asyncio. Signed-off-by: Michael Seifert --- tests/test_simple.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_simple.py b/tests/test_simple.py index facb1cfc..5e6a0d20 100644 --- a/tests/test_simple.py +++ b/tests/test_simple.py @@ -300,10 +300,6 @@ async def test_no_warning_on_skip(): result.assert_outcomes(skipped=1) -def test_async_close_loop(event_loop): - event_loop.close() - - def test_warn_asyncio_marker_for_regular_func(testdir): testdir.makepyfile( dedent(