How to use the demoji.chr function in demoji

To help you get started, weโ€™ve selected a few demoji examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bsolomon1124 / demoji / tests / test_demoji.py View on Github external
def test_python_build():
    # We need a wide (not narrow) Python 2 build.
    # Narrow will give:
    # ValueError: unichr() arg not in range(0x10000) (narrow Python build)
    assert chr(0x10000 + 1)