Use @functools.lru_cache to reverse EMOJI_DATA with new function get_emoji_by_name() #292
Move get_emoji_unicode_dict(), get_aliases_unicode_dict(), _EMOJI_UNICODE and _ALIASES_UNICODE to testutils. They are not longer needed with the new get_emoji_by_name() function, but they are still used in the tests
Update Unicode translation to release-45, but there were no changes to any emoji translations
Changes:
type: ignore
in core.py and tokenizer.pyutils/testutils.py
_EMOJI_UNICODE
in testspytest --shuffle
pypy-3.10
to CI tests, we have listed pypy as supported, so we should test it@functools.lru_cache
to reverseEMOJI_DATA
with new functionget_emoji_by_name()
#292get_emoji_unicode_dict()
,get_aliases_unicode_dict()
,_EMOJI_UNICODE
and_ALIASES_UNICODE
to testutils. They are not longer needed with the newget_emoji_by_name()
function, but they are still used in the testsrelease-45
, but there were no changes to any emoji translations