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

    @htmap.mapped
    def fail(x):
        raise Exception(str(x))
    return fail
@pytest.fixture(scope='session')
def mapped_exception():

    @htmap.mapped
    def fail(x):
        raise Exception(str(x))
    return fail