Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

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.

----------
nosy: +xtreak

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue11664>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to