Issue #13964: Skip os.*utime*() tests if os.stat() doesn't support timestamp

with a subsecond resolution
This commit is contained in:
Victor Stinner 2012-02-08 04:09:37 +01:00
parent a2f7c00638
commit 1aa54a417d
2 changed files with 11 additions and 1 deletions

View file

@ -3539,7 +3539,6 @@ extract_time(PyObject *t, time_t* sec, long* nsec)
mod = fmod(d, 1.0);
mod *= 1e9;
*nsec = (long)mod;
printf("%g => (%u, %li)\n", d, *sec, *nsec);
return 0;
}
#if SIZEOF_TIME_T > SIZEOF_LONG