IsolatedAsyncioTestCase calls _setupAsyncioRunner even for skipped tests #96030
Labels
pending
The issue will be closed if no feedback is provided
tests
Tests in the Lib/test dir
topic-asyncio
type-bug
An unexpected behavior, bug, or error
Bug report
TestCase.run()
is always executed, even for skipped tests. In fact the method checks for skipped and expected failure markers. The implementation ofIsolatedAsyncioTestCase.run
runs additional code aroundTestCase.run
that does not obey the skipped marker. This was first discovered when GH-95736 broke tests on wasm32-emscripten._setupAsyncioRunner
should not be called if a test method or class is marked as skipped.I have an easy fix for the issue.
The text was updated successfully, but these errors were encountered: