Open GoogleCodeExporter opened 9 years ago
[deleted comment]
Workaround as shown in test.py:
my_mock.side_effect = ['option1', 'option2'].__iter__()
Better:
my_mock.side_effect = iter(['option1', 'option2'])
Original comment by kenny.tr...@workiva.com
on 22 Dec 2014 at 9:13
I hit this issue. today. I can see that this is fixed in Python 3 stdlib one.
Is there anyway to back port it?
Original comment by sent...@uthcode.com
on 30 Jan 2015 at 4:26
Original issue reported on code.google.com by
kenny.tr...@workiva.com
on 22 Dec 2014 at 7:08Attachments: