Python mocker with python 3 support