示例#1
0
def test_bad_call_raises():
    with pytest.raises(TypeError):
        htmap.mapped('foo')
示例#2
0
def mapped_power(power):
    mapper = htmap.mapped(power)
    return mapper
示例#3
0
def mapped_doubler(doubler):
    mapper = htmap.mapped(doubler)
    return mapper
示例#4
0
def mapped_sleepy_double(sleepy_double):
    mapper = htmap.mapped(sleepy_double)
    return mapper