Message333210
| 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:52 | xtreak | set | recipients: + xtreak, Petter S |
| 2019-01-08 05:42:51 | xtreak | set | messageid: <1546926171.27.0.997021841487.issue35656@roundup.psfhosted.org> |
| 2019-01-08 05:42:51 | xtreak | link | issue35656 messages |
| 2019-01-08 05:42:51 | xtreak | create | |