code: def setUpClass(cls):
      ReusedSQLTestCase.setUpClass()
  
      # Synchronize default timezone between Python and Java
      cls.tz_prev = os.environ.get("TZ", None)  # save current tz if set
      tz = "America/Los_Angeles"
      os.environ["TZ"] = tz
      time.tzset()
  
      cls.sc.environment["TZ"] = tz
      cls.spark.conf.set("spark.sql.session.timeZone", tz)
  
imports: import os
  import time
  import unittest
  from pyspark.sql.utils import PythonException
  from pyspark.testing.sqlutils import ReusedSQLTestCase, have_pandas, have_pyarrow, pandas_requirement_message, pyarrow_requirement_message
  from pyspark.testing.utils import QuietTest
label_desc: Use image node_id 1 for calling the MapInArrowTests obj's underlying member method code with example usage: obj.setUpClass(cls) without return types