Message373876
It is also a good idea for linters to catch such kind of errors. It will help users of older Python versions.
We cannot raise error without deprecation period or add warnings in old versions because it potentially can break existing code, e.g.:
def test_ham(self, arg='ham'):
...
def test_spam(self):
res = test_ham('spam')
self.assertTrue(res) |
|
Date |
User |
Action |
Args |
2020-07-18 06:40:36 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, rbcollins, ezio.melotti, michael.foord, zach.ware, xtreak, defreng |
2020-07-18 06:40:36 | serhiy.storchaka | set | messageid: <1595054436.16.0.0374037001434.issue41322@roundup.psfhosted.org> |
2020-07-18 06:40:36 | serhiy.storchaka | link | issue41322 messages |
2020-07-18 06:40:36 | serhiy.storchaka | create | |
|