Message351769
I concur with Raymond here. Since mock is also part of stdlib and this issue predates mock being merged to stdlib. I think adding it to unittest sort of expands the unittest API being just an alias to mock.patch. mock.patch is used in lot of places and has a good adoption as plain function, decorator and context manager. This would also mean explaining people why there is mock.patch and TestCase.patch in docs too. |
|
Date |
User |
Action |
Args |
2019-09-11 08:12:03 | xtreak | set | recipients:
+ xtreak, brett.cannon, rhettinger, pitrou, rbcollins, ezio.melotti, eric.araujo, r.david.murray, michael.foord, pablomouzo, daniel.urban, chris.jerdonek, Julian, martin.panter, parkouss, Mariatta, ta1hia |
2019-09-11 08:12:03 | xtreak | set | messageid: <1568189523.15.0.976405111623.issue11664@roundup.psfhosted.org> |
2019-09-11 08:12:03 | xtreak | link | issue11664 messages |
2019-09-11 08:12:02 | xtreak | create | |
|