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 (pythonGH-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 <[email protected]>

---------

(cherry picked from commit 2e39d77)

Co-authored-by: Andrew Svetlov <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
4 people authored and miss-islington committed Nov 13, 2024
1 parent 361dda5 commit 6938ad1
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 6938ad1

Please sign in to comment.