Message240228
It is important that the result is an int at least for small ints. So I prefer to keep limited test.
- self.assertIsInstance(result, type(int(result)))
+ if abs(result) < 2**31:
+ self.assertIsInstance(result, int) |
|
Date |
User |
Action |
Args |
2015-04-07 20:20:50 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, vstinner, benjamin.peterson, gpolo, python-dev |
2015-04-07 20:20:50 | serhiy.storchaka | set | messageid: <1428438050.23.0.973350816426.issue16840@psf.upfronthosting.co.za> |
2015-04-07 20:20:50 | serhiy.storchaka | link | issue16840 messages |
2015-04-07 20:20:50 | serhiy.storchaka | create | |
|