mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #13964: Skip os.*utime*() tests if os.stat() doesn't support timestamp
with a subsecond resolution
This commit is contained in:
parent
a2f7c00638
commit
1aa54a417d
2 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue