コード例 #1
0
def test_marker_union_not_all_empty():
    union = MarkerUnion(parse_marker("<empty>"), parse_marker("<empty>"),
                        parse_marker(""))

    assert not union.is_empty()
コード例 #2
0
def test_marker_union_all_empty() -> None:
    union = MarkerUnion(parse_marker("<empty>"), parse_marker("<empty>"))

    assert union.is_empty()