This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sobolevn
Recipients dseomn, iritkatriel, sobolevn, xtreak
Date 2021-09-13.11:01:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631530910.01.0.119124095182.issue45156@roundup.psfhosted.org>
In-reply-to
Content
I've proposed a solution, based on the assumption that we don't need to recurse into `_SpecState` props:

```
if isinstance(m._mock_children.get(attr), _SpecState):
   continue
```

It seems like a simple and reasonable thing to do.
Link: https://github.com/python/cpython/pull/28300
History
Date User Action Args
2021-09-13 11:01:50sobolevnsetrecipients: + sobolevn, xtreak, iritkatriel, dseomn
2021-09-13 11:01:50sobolevnsetmessageid: <1631530910.01.0.119124095182.issue45156@roundup.psfhosted.org>
2021-09-13 11:01:50sobolevnlinkissue45156 messages
2021-09-13 11:01:49sobolevncreate