Remove more Python 2 code from unittest.mock (obsolete function attributes)
Remove more Python 2 code from unittest.mock (obsolete function attributes)

testing-cabal/mock,frankier/mock,scorphus/mock,nett55/mock,fladi/mock,pypingou/mock,lord63-forks/mock,rbtcollins/mock,OddBloke/mock