code: def test_longer_emoji_zwj_sequence():
      """
      A much longer emoji ZWJ sequence of 10 total codepoints is just 2 cells!
  
      Also test the same sequence in duplicate, verifying multiple VS-16 sequences
      in a single function call.
      """
      # 'Category Code', 'East Asian Width property' -- 'description'
      phrase = (
          "\U0001F9D1"  # 'So', 'W' -- ADULT
          "\U0001F3FB"  # 'Sk', 'W' -- EMOJI MODIFIER FITZPATRICK TYPE-1-2
          "\u200d"  # 'Cf', 'N' -- ZERO WIDTH JOINER
          "\u2764"  # 'So', 'N' -- HEAVY BLACK HEART
          "\uFE0F"  # 'Mn', 'A' -- VARIATION SELECTOR-16
          "\u200d"  # 'Cf', 'N' -- ZERO WIDTH JOINER
          "\U0001F48B"  # 'So', 'W' -- KISS MARK
          "\u200d"  # 'Cf', 'N' -- ZERO WIDTH JOINER
          "\U0001F9D1"  # 'So', 'W' -- ADULT
          "\U0001F3FD"  # 'Sk', 'W' -- EMOJI MODIFIER FITZPATRICK TYPE-4
      ) * 2
      # This test adapted from https://www.unicode.org/L2/L2023/23107-terminal-suppt.pdf
      expect_length_each = (2, 0, 0, 1, 0, 0, 2, 0, 2, 0) * 2
      expect_length_phrase = 4
  
      # exercise,
      length_each = tuple(map(wcwidth.wcwidth, phrase))
      length_phrase = wcwidth.wcswidth(phrase)
  
      # verify.
      assert length_each == expect_length_each
      assert length_phrase == expect_length_phrase
  
file_path: catboost/contrib/python/wcwidth/py3/tests/test_emojis.py
imports: import os
  import codecs
  import pytest
  import wcwidth
label_desc: Use image node_id 6 for calling a global function with example usage: test_longer_emoji_zwj_sequence() without return types