Robert Collins added the comment: Hmm, I haven't looked closely, but some high level thoughts.
I'm worried about making mock too complex here. We already say folk should use a VFS for complex file based tests, and there's quite a chunk of code you're adding - perhaps better to just use a VFS? I don't like mock importing mock_open and mock_open importing mock: please keep this in a single mock.py at this point. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25690> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com