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 fried
Recipients fried, lisroach
Date 2019-11-20.00:14:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574208869.25.0.189658973106.issue38859@roundup.psfhosted.org>
In-reply-to
Content
If an AsyncMock uses a side_effect that is an Iterable, if called more than items exist its suppose to raise StopIteration according to the docs but PEP 479 says that is impossible. 

My Suggestion is that we update the docs and the code to Raise a StopAsyncIteration since it will not be converted to a RuntimeError
History
Date User Action Args
2019-11-20 00:14:29friedsetrecipients: + fried, lisroach
2019-11-20 00:14:29friedsetmessageid: <1574208869.25.0.189658973106.issue38859@roundup.psfhosted.org>
2019-11-20 00:14:29friedlinkissue38859 messages
2019-11-20 00:14:28friedcreate