https://github.com/python/cpython/commit/dd212592834bb3a4be43b5d7d1a90876701e9885 commit: dd212592834bb3a4be43b5d7d1a90876701e9885 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: asvetlov <[email protected]> date: 2024-11-13T09:20:47Z summary:
[3.12] bpo-46128: Strip IsolatedAsyncioTestCase frames from reported stacktraces (GH-30196) (#126771) bpo-46128: Strip IsolatedAsyncioTestCase frames from reported stacktraces (GH-30196) --------- (cherry picked from commit 2e39d77ddeb51505d65fd54ccfcd72615c6b1927) 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]> files: A Misc/NEWS.d/next/Library/2021-12-19-10-47-24.bpo-46128.Qv3EK1.rst M Lib/unittest/async_case.py diff --git a/Lib/unittest/async_case.py b/Lib/unittest/async_case.py index bd2a471156065b..2abfb79079822a 100644 --- a/Lib/unittest/async_case.py +++ b/Lib/unittest/async_case.py @@ -5,6 +5,7 @@ from .case import TestCase +__unittest = True class IsolatedAsyncioTestCase(TestCase): # Names intentionally have a long prefix diff --git a/Misc/NEWS.d/next/Library/2021-12-19-10-47-24.bpo-46128.Qv3EK1.rst b/Misc/NEWS.d/next/Library/2021-12-19-10-47-24.bpo-46128.Qv3EK1.rst new file mode 100644 index 00000000000000..7d11d20d94e8a3 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-12-19-10-47-24.bpo-46128.Qv3EK1.rst @@ -0,0 +1,2 @@ +Strip :class:`unittest.IsolatedAsyncioTestCase` stack frames from reported +stacktraces. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
