We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 735d823 commit c44f1a5Copy full SHA for c44f1a5
1 file changed
Misc/NEWS.d/next/Library/2026-05-28-14-35-00.gh-issue-150484.mock_open.rst
@@ -0,0 +1,3 @@
1
+Fix :meth:`unittest.mock.mock_open.__exit__` to accept variable arguments
2
+(``*exc_details``) to support Python 3.13+ where ``ExitStack.__exit__``
3
+passes the full exc_info tuple.
0 commit comments