Ejemplo n.º 1
0
def test_intentionally_not_round_trip(s, expected):
    # Our unparse simplifies empty parts, whereas stdlib allows them
    ret = unparse_parsed_string(parse_format(s))
    assert ret == expected
Ejemplo n.º 2
0
def test_roundtrip_text(s):
    assert unparse_parsed_string(parse_format(s)) == s