[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 648494b44aad273590382c8db5a9d1a6c96ee67a by Miss Islington (bot) in branch '3.8': bpo-35685: Add examples of unittest.mock.patch.dict usage (GH-11456) https://github.com/python/cpython/commit/648494b44aad273590382c8db5a9d1a6c96ee67a --

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-09-12 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-09-12 Thread Julien Palard
Julien Palard added the comment: New changeset 31a82e25b6044a5b5ee25246bad3eb7b873cf5ec by Julien Palard (Emmanuel Arias) in branch 'master': bpo-35685: Add examples of unittest.mock.patch.dict usage (GH-11456) https://github.com/python/cpython/commit/31a82e25b6044a5b5ee25246bad3eb7b873cf5ec

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +15654 pull_request: https://github.com/python/cpython/pull/16031 ___ Python tracker ___ __

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-09-12 Thread Julien Palard
Julien Palard added the comment: We're using assert instead of assertEqual to denote that we're not "testing unittest" but asserting that unittest work as documented. Whch is semantically a bit different. Unittesting unittest using unittest works, but using unittest test to test unittest as

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-01-08 Thread Emmanuel Arias
Change by Emmanuel Arias : -- keywords: +patch, patch, patch pull_requests: +10959, 10960, 10961 stage: -> patch review ___ Python tracker ___

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-01-08 Thread Emmanuel Arias
Change by Emmanuel Arias : -- keywords: +patch, patch pull_requests: +10959, 10960 stage: -> patch review ___ Python tracker ___ __

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-01-08 Thread Emmanuel Arias
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +10959 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-01-08 Thread Emmanuel Arias
New submission from Emmanuel Arias : Hi! I create this PR to add a samples of the use of patch.dict with decorator on method and class. I think that is a good improve because the doc mentions the use of patch.dict with decorator on method and class but don't show any samples. Other, questi