Author mrh1997
Recipients michael.foord, mrh1997, xtreak
Date 2018-09-20.20:31:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
According to this chapter ( ) the specialmethods in MagicMock are different:

.return_value is preinitialized with defaultvalues, which depends on the operator. In the case of .__iter__ this is "iter([])".
This is the case when running __iter__(), but not when running __iter__.result_value
Date User Action Args
2018-09-20 20:31:02mrh1997setrecipients: + mrh1997, michael.foord, xtreak
2018-09-20 20:31:02mrh1997setmessageid: <>
2018-09-20 20:31:02mrh1997linkissue33236 messages
2018-09-20 20:31:02mrh1997create