Skip to content

Commit c44f1a5

Browse files
committed
add news fragment for gh-150484 mock_open fix
1 parent 735d823 commit c44f1a5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)