[issue23838] linecache and MemoryError

STINNER Victor report at bugs.python.org
Wed Apr 1 15:04:21 CEST 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue23838>
_______________________________________


More information about the Python-bugs-list mailing list