Message197357
Hi all,
I've fixed the infinite recursion in `reset_mock()`. It has been solved by tracking a set of visited ids as suggested.
>>> from unittest import mock
>>> a = mock.mock_open()
>>> a.reset_mock()
>>> a
<MagicMock name='open' spec='builtin_function_or_method' id='4449688192'> |
|
Date |
User |
Action |
Args |
2013-09-09 09:58:09 | nicola.palumbo | set | recipients:
+ nicola.palumbo, michael.foord |
2013-09-09 09:58:09 | nicola.palumbo | set | messageid: <1378720689.69.0.535665313086.issue18622@psf.upfronthosting.co.za> |
2013-09-09 09:58:09 | nicola.palumbo | link | issue18622 messages |
2013-09-09 09:58:09 | nicola.palumbo | create | |
|