@pytest.fixture(scope='session')
def never_returns():

    def never(_):
        while True:
            time.sleep(1)
    return never
@pytest.fixture(scope='session')
def never_returns():

    def never(_):
        while True:
            time.sleep(1)
    return never