code: def test_samestat(self):
      test_fn1 = os_helper.TESTFN
      test_fn2 = os_helper.TESTFN + "2"
      self.addCleanup(os_helper.unlink, test_fn1)
      self.addCleanup(os_helper.unlink, test_fn2)
  
      create_file(test_fn1)
      stat1 = os.stat(test_fn1)
      self.assertTrue(
          self.pathmodule.samestat(stat1, os.stat(test_fn1))
      )
  
      create_file(test_fn2)
      stat2 = os.stat(test_fn2)
      self.assertFalse(self.pathmodule.samestat(stat1, stat2))
  
      self.assertRaises(TypeError, self.pathmodule.samestat)
  
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 13 for calling the GenericTest obj's underlying member method code with example usage: obj.test_samestat() without return types