def test_method(self):
        source = procedural.WhiteNoise(0.5)
        player = media.Player()
        player.queue(source)
        player.play()
        start_time = time.time()

        stage = 0
        while player.source:
            if stage == 0 and 0.25 > time.time() - start_time:
                player.pause()
                stage = 1
            if stage == 1 and time.time() - start_time > 0.75:
                player.play()
                stage = 2
            player.dispatch_events()
dataset/ETHPy150Open ardekantur/pyglet/tests/media/PLAYER_PAUSE.py/TEST_CASE.test_method/swapped operands of `>`