Message257564
Without tests you can't be sure that there is no special case in some abstract classes or operators, or that it can't be introduced in future. To decrease the copy-pasting you can use code generation for testing.
But I don't know what is the best place for tests. Tests for special methods are scattered though different files: test_binop, test_class, test_compare, test_descr, test_richcmp, test_augassign, test_contains, test_iter, etc. |
|
Date |
User |
Action |
Args |
2016-01-05 22:57:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, rhettinger, ncoghlan, r.david.murray, martin.panter, abarnert |
2016-01-05 22:57:35 | serhiy.storchaka | set | messageid: <1452034655.13.0.578820880323.issue25958@psf.upfronthosting.co.za> |
2016-01-05 22:57:35 | serhiy.storchaka | link | issue25958 messages |
2016-01-05 22:57:34 | serhiy.storchaka | create | |
|