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 Yoichi Nakayama
Recipients Yoichi Nakayama, michael.foord, pitrou, uosiu
Date 2016-08-15.08:47:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471250822.33.0.268109074188.issue26600@psf.upfronthosting.co.za>
In-reply-to
Content
It is not a bug of MagicMock. It is a problem of the sample program.
Calling str to mock object cause not only read access,
it also write to related objects. So there is a race condition.
History
Date User Action Args
2016-08-15 08:47:02Yoichi Nakayamasetrecipients: + Yoichi Nakayama, pitrou, michael.foord, uosiu
2016-08-15 08:47:02Yoichi Nakayamasetmessageid: <1471250822.33.0.268109074188.issue26600@psf.upfronthosting.co.za>
2016-08-15 08:47:02Yoichi Nakayamalinkissue26600 messages
2016-08-15 08:47:01Yoichi Nakayamacreate