code: def test_filetime(self):
      filename = os_helper.TESTFN
      self.addCleanup(os_helper.unlink, filename)
  
      create_file(filename, b"foo")
  
      with open(filename, "ab", 0) as f:
          f.write(b"bar")
  
      with open(filename, "rb", 0) as f:
          data = f.read()
      self.assertEqual(data, b"foobar")
  
      self.assertLessEqual(
          self.pathmodule.getctime(filename),
          self.pathmodule.getmtime(filename),
      )
  
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 4 for calling the GenericTest obj's underlying member method code with example usage: obj.test_filetime() without return types