mirror of
https://github.com/python/cpython.git
synced 2025-11-18 18:31:56 +00:00
bpo-31855: unittest.mock.mock_open() results now respects the argument of read([size]) (GH-11521)
unittest.mock.mock_open() results now respects the argument of read([size]) Co-Authored-By: remilapeyre <remi.lapeyre@henki.fr>
This commit is contained in:
parent
ad4ed87241
commit
11a8832c98
3 changed files with 21 additions and 25 deletions
|
|
@ -0,0 +1,2 @@
|
|||
:func:`unittest.mock.mock_open` results now respects the argument of read([size]).
|
||||
Patch contributed by Rémi Lapeyre.
|
||||
Loading…
Add table
Add a link
Reference in a new issue