Skip to content

Commit af08b1c

Browse files
committed
[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 <[email protected]>
1 parent 79b2d1a commit af08b1c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: tests/test_simple.py

-4
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,6 @@ async def test_no_warning_on_skip():
300300
result.assert_outcomes(skipped=1)
301301

302302

303-
def test_async_close_loop(event_loop):
304-
event_loop.close()
305-
306-
307303
def test_warn_asyncio_marker_for_regular_func(testdir):
308304
testdir.makepyfile(
309305
dedent(

0 commit comments

Comments
 (0)