]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32933: Implement __iter__ method on mock_open() (GH-5974)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 14 Sep 2018 21:30:04 +0000 (14:30 -0700)
committerBerker Peksag <berker.peksag@gmail.com>
Fri, 14 Sep 2018 21:30:04 +0000 (00:30 +0300)
commitc83c375ed907bdd54361aa36ce76130360f323a4
treece2e6e9e1716121328cd01f44b770a758a653af9
parentb2ecb8b486d85d11ee7b523dfd2c76b2820bbe83
bpo-32933: Implement __iter__ method on mock_open() (GH-5974)

(cherry picked from commit 2087023fdec2c89070bd14f384a3c308c548a94a)

Co-authored-by: Tony Flury <anthony.flury@btinternet.com>
Doc/library/unittest.mock.rst
Lib/unittest/mock.py
Lib/unittest/test/testmock/testmock.py
Lib/unittest/test/testmock/testwith.py
Misc/NEWS.d/next/Library/2018-04-30-22-43-31.bpo-32933.M3iI_y.rst [new file with mode: 0644]