Skip to content

Commit

Permalink
bpo-46128: Strip IsolatedAsyncioTestCase frames from reported stacktr…
Browse files Browse the repository at this point in the history
…aces (#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>
  • Loading branch information
4 people authored Nov 13, 2024
1 parent 8cc6e5c commit 2e39d77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Lib/unittest/async_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from .case import TestCase

__unittest = True

class IsolatedAsyncioTestCase(TestCase):
# Names intentionally have a long prefix
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Strip :class:`unittest.IsolatedAsyncioTestCase` stack frames from reported
stacktraces.

0 comments on commit 2e39d77

Please sign in to comment.