Skip to content

Commit

Permalink
[test] Removed obsolete test "test_async_close_loop".
Browse files Browse the repository at this point in the history
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 <m.seifert@digitalernachschub.de>
  • Loading branch information
seifertm committed Jul 12, 2023
1 parent 79b2d1a commit af08b1c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit af08b1c

Please sign in to comment.