Closed misuzu closed 1 year ago
Skip tests if OverflowError is raised. This is a known limitation of Python on 32-bit platforms (https://docs.python.org/3/library/datetime.html#datetime.datetime.fromtimestamp).
Catching OverflowError is the best option here since some 32-bit platforms (e.g. NetBSD) use 64-bit time_t, and others are working on providing a switch to the 64-bit type (e.g. glibc).
Skip tests if OverflowError is raised. This is a known limitation of Python on 32-bit platforms (https://docs.python.org/3/library/datetime.html#datetime.datetime.fromtimestamp).
Catching OverflowError is the best option here since some 32-bit platforms (e.g. NetBSD) use 64-bit time_t, and others are working on providing a switch to the 64-bit type (e.g. glibc).