Issue #13847: Make test_localtime_failure() more robust

Skip the test if we are unable to find an invalid time_t value.
1 file changed