def test_emoticon_skips_invalid_parens(): """Ensure emoticons are not detected if they use too many parens. Example: (emoti(con)). Results: () """ results = tuple(emoticon.emoticons("(emoti(con)).")) assert not results
def test_emoticon_skips_unbounded_parens(): """Ensure emoticons are not detected if they use too little parens. Example: (emoti (con). Results: () """ results = tuple(emoticon.emoticons("(emoti (con).")) assert not results