def METHOD_NAME():
    assert strutils.escaped_str_to_bytes("foo") == b"foo"
    assert strutils.escaped_str_to_bytes("\x08") == b"\b"
    assert strutils.escaped_str_to_bytes("&!?=\\\\)") == rb"&!?=\)"
    assert strutils.escaped_str_to_bytes("\\x08") == b"\b"
    assert strutils.escaped_str_to_bytes("&!?=\\\\)") == rb"&!?=\)"
    assert strutils.escaped_str_to_bytes("\u00fc") == b"\xc3\xbc"
    with pytest.raises(ValueError):
        strutils.escaped_str_to_bytes(b"very byte")