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 <59607654+kumaraditya303@users.noreply.github.com>

---------

(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
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.