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
4 files changed