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 xtreak
Recipients Petter S, xtreak
Date 2019-01-08.05:42:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546926171.27.0.997021841487.issue35656@roundup.psfhosted.org>
In-reply-to
Content
Looking at the code ANY is simply implemented with __eq__ always returning True at https://github.com/python/cpython/blob/e61cc481e02b758c8d8289163102c236d0658a55/Lib/unittest/mock.py#L1957 . I am not sure how APPROXIMATE can be implemented in terms of floating point like rounding up or down? Do you have any examples in mind over a sample implementation or example of how they should behave in various scenarios?
History
Date User Action Args
2019-01-08 05:42:52xtreaksetrecipients: + xtreak, Petter S
2019-01-08 05:42:51xtreaksetmessageid: <1546926171.27.0.997021841487.issue35656@roundup.psfhosted.org>
2019-01-08 05:42:51xtreaklinkissue35656 messages
2019-01-08 05:42:51xtreakcreate