code: def worker_logfinish(self, node, nodeid, location):
          
          self.config.hook.pytest_runtest_logfinish(nodeid=nodeid, location=location)
docs: Emitted when a node calls the pytest_runtest_logfinish hook.