def warn(self, code, message, fslocation=None):
        self.hook.pytest_logwarning.call_historic(kwargs=dict(
            code=code, message=message,
            fslocation=fslocation, nodeid=None))
This inserts a character at cursor. Everything under
dataset/ETHPy150Open pytest-dev/pytest/_pytest/config.py/Config.warn--crossover with--dataset/ETHPy150Open kdart/pycopia/QA/pycopia/terminal.py/Screen.insert