diff options
author | Damien Nadé <Anvil@users.noreply.github.com> | 2019-05-23 10:03:25 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-05-23 10:03:25 (GMT) |
commit | 394119afc6611f17bac96f5ec6fefa00000ae795 (patch) | |
tree | 27fc4f991110ed5d3bf09bb0e3e3051b6eddcc91 /Misc | |
parent | 51aa35e9e17eef60d04add9619fe2a7eb938358c (diff) | |
download | cpython-394119afc6611f17bac96f5ec6fefa00000ae795.zip cpython-394119afc6611f17bac96f5ec6fefa00000ae795.tar.gz cpython-394119afc6611f17bac96f5ec6fefa00000ae795.tar.bz2 |
bpo-37008: make mock_open handle able to honor next() (GH-13492)
I've reported the issue on https://bugs.python.org/issue37008 and now I'm trying to bring a solution to this minor issue.
I think it could be trivially backported to 3.7 branch.
https://bugs.python.org/issue37008
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-05-22-15-26-08.bpo-37008.WPbv31.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-05-22-15-26-08.bpo-37008.WPbv31.rst b/Misc/NEWS.d/next/Library/2019-05-22-15-26-08.bpo-37008.WPbv31.rst new file mode 100644 index 0000000..42747ae --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-05-22-15-26-08.bpo-37008.WPbv31.rst @@ -0,0 +1,2 @@ +Add support for calling :func:`next` with the mock resulting from +:func:`unittest.mock.mock_open` |