code: def test_abspath_issue3426(self):
      # Check that abspath returns unicode when the arg is unicode
      # with both ASCII and non-ASCII cwds.
      abspath = self.pathmodule.abspath
      for path in ("", "fuu", "f\xf9\xf9", "/fuu", "U:\\"):
          self.assertIsInstance(abspath(path), str)
  
      unicwd = "\xe7w\xf0"
      try:
          os.fsencode(unicwd)
      except (AttributeError, UnicodeEncodeError):
          # FS encoding is probably ASCII
          pass
      else:
          with os_helper.temp_cwd(unicwd):
              for path in ("", "fuu", "f\xf9\xf9", "/fuu", "U:\\"):
                  self.assertIsInstance(abspath(path), str)
  
imports: import genericpath
  import os
  import sys
  import unittest
  import warnings
  from test.support import is_emscripten
  from test.support import os_helper
  from test.support import warnings_helper
  from test.support.script_helper import assert_python_ok
  from test.support.os_helper import FakePath
label_desc: Use image node_id 9 for calling the CommonTest obj's underlying member method code with example usage: obj.test_abspath_issue3426() without return types