How to use the demoji.PY2 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_setup():
    if PY2:
        assert len(person_tipping_hand) == 2
        assert len(man_tipping_hand) == 5
        assert len(woman_tipping_hand) == 5
    else:
        assert len(person_tipping_hand) == 1
        assert len(man_tipping_hand) == 4
        assert len(woman_tipping_hand) == 4