Skip to content

Commit

Permalink
[3.12] bpo-46128: Strip IsolatedAsyncioTestCase frames from reported …
Browse files Browse the repository at this point in the history
…stacktraces (GH-30196) (#126771)

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

---------

(cherry picked from commit 2e39d77)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.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
5 people authored Nov 13, 2024
1 parent 951ed33 commit dd21259
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 dd21259

Please sign in to comment.