@pytest.fixture
def part_1():
    m1 = Measure([Beat([1, 2, 1, 2]), Beat([1, 0, 0, 1])])
    m2 = Measure([Beat([2, 2, 1, 1]), Beat([2, 2, 2, 2])])
    part = Part([m1, m2])
    return part
@pytest.fixture
def part_1():
    m1 = Measure([Beat([1, 2, 1, 2]), Beat([1, 0, 0, 1])])
    m2 = Measure([Beat([2, 2, 1, 1]), Beat([2, 2, 2, 2])])
    part = Part([m1, m2])
    return part