Home | History | Annotate | Download | only in tests

Lines Matching refs:new_file

16         new_file = os.path.join(tmpdir, 'new')
19 # Raise DistutilsFileError if 'new_file' does not exist.
20 self.assertRaises(DistutilsFileError, newer, new_file, old_file)
22 # Return true if 'new_file' exists and is more recently modified than
23 # 'old_file', or if 'new_file' exists and 'old_file' doesn't.
24 self.write_file(new_file)
25 self.assertTrue(newer(new_file, 'I_dont_exist'))
26 self.assertTrue(newer(new_file, old_file))
29 # than 'new_file'.
30 self.assertFalse(newer(old_file, new_file))