def getcalls(self, names):
        if isinstance(names, str):
            names = names.split()
        return [call for call in self.calls if names in call._name]
dataset/ETHPy150Open pytest-dev/pytest/_pytest/pytester.py/HookRecorder.getcalls/swapped operands of `in`