importing mock from mock is confusing, use mock_compat instead