code: def test_nonascii_abspath(self):
      if (
          os_helper.TESTFN_UNDECODABLE
          # macOS and Emscripten deny the creation of a directory with an
          # invalid UTF-8 name. Windows allows creating a directory with an
          # arbitrary bytes name, but fails to enter this directory
          # (when the bytes name is used).
          and sys.platform
          not in ("win32", "darwin", "emscripten", "wasi")
      ):
          name = os_helper.TESTFN_UNDECODABLE
      elif os_helper.TESTFN_NONASCII:
          name = os_helper.TESTFN_NONASCII
      else:
          self.skipTest("need os_helper.TESTFN_NONASCII")
  
      with warnings.catch_warnings():
          warnings.simplefilter("ignore", DeprecationWarning)
          with os_helper.temp_cwd(name):
              self.test_abspath()
  
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 10 for calling the CommonTest obj's underlying member method code with example usage: obj.test_nonascii_abspath() without return types