| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ack (pythonGH-151829) mock_open's _exit_side_effect had a fixed 3-arg signature, but contextlib.ExitStack calls __exit__ with 4 args (self + 3 exc info). Use *args to accept any number of arguments. (cherry picked from commit 85fa295) Co-authored-by: Zang Peiyu <166481866+factnn@users.noreply.github.com>
Documentation build overview464 files changed · ± 424 modified · - 40 deleted ± Modified
- Deleted |
Sorry, something went wrong.
…Stack mock_open().__exit__ only misbehaves on 3.13 and 3.14, where it was fixed directly by pythonGH-151829 and backported as pythonGH-151861. Only the regression test belongs on main.
| Back | FazBrowse Home | New Git URL |
mock_open's _exit_side_effect had a fixed 3-arg signature, but
contextlib.ExitStack calls exit with 4 args (self + 3 exc info).
Use *args to accept any number of arguments.
(cherry picked from commit 85fa295)
Co-authored-by: Zang Peiyu 166481866+factnn@users.noreply.github.com