bpo-46128: Strip IsolatedAsyncioTestCase frames from reported stacktraces (#30196)

* Strip IsolatedAsyncioTestCase frames from reported stacktraces

* Update Misc/NEWS.d/next/Library/2021-12-19-10-47-24.bpo-46128.Qv3EK1.rst

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>

---------

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Andrew Svetlov 2024-11-13 05:24:33 +01:00 committed by GitHub
parent 8cc6e5c875
commit 2e39d77dde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import warnings
from .case import TestCase
__unittest = True
class IsolatedAsyncioTestCase(TestCase):
# Names intentionally have a long prefix

View File

@ -0,0 +1,2 @@
Strip :class:`unittest.IsolatedAsyncioTestCase` stack frames from reported
stacktraces.