summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2024-11-13 04:24:33 (GMT)
committerGitHub <noreply@github.com>2024-11-13 04:24:33 (GMT)
commit2e39d77ddeb51505d65fd54ccfcd72615c6b1927 (patch)
treeeda1eb84fdc2f51655dcc0a1e52a293141963923 /Lib/unittest
parent8cc6e5c8751139e86b2a9fa5228795e6c5caaff9 (diff)
downloadcpython-2e39d77ddeb51505d65fd54ccfcd72615c6b1927.zip
cpython-2e39d77ddeb51505d65fd54ccfcd72615c6b1927.tar.gz
cpython-2e39d77ddeb51505d65fd54ccfcd72615c6b1927.tar.bz2
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 <59607654+kumaraditya303@users.noreply.github.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>
Diffstat (limited to 'Lib/unittest')
-rw-r--r--Lib/unittest/async_case.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/unittest/async_case.py b/Lib/unittest/async_case.py
index bd06eb3..6000af1 100644
--- a/Lib/unittest/async_case.py
+++ b/Lib/unittest/async_case.py
@@ -5,6 +5,7 @@ import warnings
from .case import TestCase
+__unittest = True
class IsolatedAsyncioTestCase(TestCase):
# Names intentionally have a long prefix