docstr: Test punctuation_chars and whitespace_split handle unicode.
docstr_tok: ["Test","punctuation_chars","and","whitespace_split","handle","unicode","."]
code: def testUnicodeHandling(self):
      """Test punctuation_chars and whitespace_split handle unicode."""
      ss = "\u2119\u01b4\u2602\u210c\u00f8\u1f24"
      # Should be parsed as one complete token (whitespace_split=True).
      ref = ["\u2119\u01b4\u2602\u210c\u00f8\u1f24"]
      s = shlex.shlex(ss, punctuation_chars=True)
      s.whitespace_split = True
      self.assertEqual(list(s), ref)
      # Without whitespace_split, uses wordchars and splits on all.
      ref = ["\u2119", "\u01b4", "\u2602", "\u210c", "\u00f8", "\u1f24"]
      s = shlex.shlex(ss, punctuation_chars=True)
      self.assertEqual(list(s), ref)
  
imports: import io
  import itertools
  import shlex
  import string
  import unittest
label_desc: Use image node_id 17 for calling the ShlexTest obj's underlying member method code with example usage: obj.testUnicodeHandling() without return types