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

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator