code: def test_newer(self):
      tmpdir = self.mkdtemp()
      new_file = os.path.join(tmpdir, "new")
      old_file = os.path.abspath(__file__)
  
      # Raise DistutilsFileError if 'new_file' does not exist.
      self.assertRaises(DistutilsFileError, newer, new_file, old_file)
  
      # Return true if 'new_file' exists and is more recently modified than
      # 'old_file', or if 'new_file' exists and 'old_file' doesn't.
      self.write_file(new_file)
      self.assertTrue(newer(new_file, "I_dont_exist"))
      self.assertTrue(newer(new_file, old_file))
  
      # Return false if both exist and 'old_file' is the same age or younger
      # than 'new_file'.
      self.assertFalse(newer(old_file, new_file))
  
file_path: catboost/contrib/tools/python/src/Lib/distutils/tests/test_dep_util.py
imports: import unittest
  import os
  import time
  from distutils.dep_util import newer, newer_pairwise, newer_group
  from distutils.errors import DistutilsFileError
  from distutils.tests import support
  from test.test_support import run_unittest
label_desc: Use image node_id 1 for calling the DepUtilTestCase obj's underlying member method code with example usage: obj.test_newer() without return types