def METHOD_NAME(self):
    """
    Test that experiment clock is applied to ioHub
    """
    from psychopy import iohub
    def _sameTimes():
        times = [
            # ioHub process time
            self.sess.inputs['ioServer'].getTime(),
            # ioHub time in current process
            iohub.Computer.global_clock.getTime(),
            # experiment time
            self.sess.sessionClock.getTime(),
        ]
        # confirm that all values are within 0.001 of eachother
        avg = sum(times) / len(times)
        deltas = [abs(t - avg) for t in times]
        same = [d < 0.001 for d in deltas]
        return all(same)
    # setup experiment inputs
    self.sess.setupInputsFromExperiment("exp1")
    # knock ioHub timer out of sync
    time.sleep(1)
    # run experiment
    self.sess.runExperiment("exp1")
    # confirm that ioHub timer was brought back into sync
    assert _sameTimes(), (
        self.sess.inputs['ioServer'].getTime(),
        iohub.Computer.global_clock.getTime(),
        self.sess.sessionClock.getTime(),
    )