STINNER Victor added the comment: > It is hard to write reliable test
Ah? Why not using something like mock.patch('mock.updatecache', side_effect=MemoryError)? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23838> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com