(self)
| 1059 | # return None if the filesystem is unknown |
| 1060 | |
| 1061 | def test_large_time(self): |
| 1062 | # Many filesystems are limited to the year 2038. At least, the test |
| 1063 | # pass with NTFS filesystem. |
| 1064 | if self.get_file_system(self.dirname) != "NTFS": |
| 1065 | self.skipTest("requires NTFS") |
| 1066 | |
| 1067 | large = 5000000000 # some day in 2128 |
| 1068 | os.utime(self.fname, (large, large)) |
| 1069 | self.assertEqual(os.stat(self.fname).st_mtime, large) |
| 1070 | |
| 1071 | def test_utime_invalid_arguments(self): |
| 1072 | # seconds and nanoseconds parameters are mutually exclusive |
nothing calls this directly
no test coverage detected