def patch(self, thing):
        patcher = mock.patch(thing)
        self.addCleanup(patcher.stop)
        return patcher.start()
install the scalar coercion methods
dataset/ETHPy150Open mozilla/addons-server/src/olympia/devhub/tests/test_utils.py/TestValidationAnnotatorBase.patch--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/core/series.py/_coerce_method