summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dataclasses.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-03-22 18:23:47 (GMT)
committerGitHub <noreply@github.com>2023-03-22 18:23:47 (GMT)
commita9ece4a8392768b4ab35253101f628ec61956646 (patch)
treef0934925f764c3a170102a878b624aa8795eda04 /Lib/test/test_dataclasses.py
parentf1b96737a4e42c96141927b2ea3976eb84557ed6 (diff)
downloadcpython-a9ece4a8392768b4ab35253101f628ec61956646.zip
cpython-a9ece4a8392768b4ab35253101f628ec61956646.tar.gz
cpython-a9ece4a8392768b4ab35253101f628ec61956646.tar.bz2
gh-102780: Fix uncancel() call in asyncio timeouts (GH-102815)
Also use `raise TimeOut from <CancelledError instance>` so that the CancelledError is set in the `__cause__` field rather than in the `__context__` field. (cherry picked from commit 04adf2df395ded81922c71360a5d66b597471e49) Co-authored-by: Kristján Valur Jónsson <sweskman@gmail.com> Co-authored-by: Guido van Rossum <gvanrossum@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Lib/test/test_dataclasses.py')
0 files changed, 0 insertions, 0 deletions