8000 [3.13] bpo-46128: Strip IsolatedAsyncioTestCase frames from reported … · python/cpython@b03ba54 · GitHub
[go: up one dir, main page]

Skip to content

Commit b03ba54

Browse files
miss-islingtonasvetlovkumaraditya303ezio-melottihugovk
authored
[3.13] bpo-46128: Strip IsolatedAsyncioTestCase frames from reported stacktraces (GH-30196) (#126770)
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>
1 parent 13fe8f9 commit b03ba54

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)
0