code: def setUp(self):
      self.data = [x.split("|")[:-1] for x in data.splitlines()]
      self.posix_data = [
          x.split("|")[:-1] for x in posix_data.splitlines()
      ]
      for item in self.data:
          item[0] = item[0].replace(r"\n", "\n")
      for item in self.posix_data:
          item[0] = item[0].replace(r"\n", "\n")
  
imports: import io
  import itertools
  import shlex
  import string
  import unittest
label_desc: Use image node_id 1 for calling the ShlexTest obj's underlying member method code with example usage: obj.setUp() without return types