MCPcopy Index your code
hub / github.com/rspeer/python-ftfy / test_ohio_flag

Function test_ohio_flag

tests/test_characters.py:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35
36def test_ohio_flag():
37 # I did not expect to find the "Flag of Ohio" emoji in the wild but there it is.
38 # Test that this emoji (which no emoji database believes has been implemented)
39 # passes through unchanged.
40 text = "#superman #ohio 🏴\U000e0075\U000e0073\U000e006f\U000e0068\U000e007f #cleveland #usa 🇺🇸"
41 assert fix_text(text) == text
42
43
44def test_surrogates():

Callers

nothing calls this directly

Calls 1

fix_textFunction · 0.90

Tested by

no test coverage detected