<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def worker_logfinish(self, node, nodeid, location):
 """Emitted when a node calls the pytest_runtest_logfinish hook."""

        self.config.hook.pytest_runtest_logfinish(nodeid=nodeid, location=location)