

def test_markers():
    (spec, data) = build_simple_spec()
    for marktype in VALID_MARKTYPES:
        spec.mark(marktype)
        assert (spec.marktype == spec)
    for marktype in VALID_MARKTYPES:
        method = marktype
        getattr(spec, method)()
        assert (spec.marktype == marktype)

dataset/ETHPy150Open ellisonbg/altair/altair/tests/test_api.py test_markers/VarMisuse@39/49 `marktype`->`spec`