Skip to content

Commit 2e39d77

Browse files
asvetlovkumaraditya303ezio-melottihugovk
authored
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 <[email protected]> --------- Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 8cc6e5c commit 2e39d77

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Lib/unittest/async_case.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
from .case import TestCase
77

8+
__unittest = True
89

910
class IsolatedAsyncioTestCase(TestCase):
1011
# Names intentionally have a long prefix
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Strip :class:`unittest.IsolatedAsyncioTestCase` stack frames from reported
2+
stacktraces.

0 commit comments

Comments
 (0)