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 dmcnulla
Recipients dmcnulla
Date 2021-09-27.21:28:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632778088.54.0.273231089693.issue45305@roundup.psfhosted.org>
In-reply-to
Content
https://gist.github.com/dmcnulla/ecec8fc96a2fd07082f240eeff6888d9
I'm trying to reproduce an error in a call to a method, forcing a second call to the method. In my test, the call_args_list is showing incorrectly (both in debugging or running unittest normally).

I am not certain what other circumstances this is happening or not happening. I was able to reduce the code to reproduce it quite a bit. I am certain that the first call to the method is not matching correctly in my criteria to what I expect based on my debugging.

I am using python 3.7. I can reproduce in IntelliJ or by commandline `python3 -m pytest test_multiple_side_effect.py`
History
Date User Action Args
2021-09-27 21:28:08dmcnullasetrecipients: + dmcnulla
2021-09-27 21:28:08dmcnullasetmessageid: <1632778088.54.0.273231089693.issue45305@roundup.psfhosted.org>
2021-09-27 21:28:08dmcnullalinkissue45305 messages
2021-09-27 21:28:08dmcnullacreate