code: def test_samefile_on_link(self):
      try:
          self._test_samefile_on_link_func(os.link)
      except PermissionError as e:
          self.skipTest("os.link(): %s" % e)
  
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 12 for calling the GenericTest obj's underlying member method code with example usage: obj.test_samefile_on_link() without return types