diff --git a/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp b/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp index b710f3df2335..a751a2fb6347 100644 --- a/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp +++ b/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp @@ -169,49 +169,6 @@ static void test_durations() { assert_equal(expected, tz->get_info(std::chrono::sys_time{})); } -static void test_indian_kerguelen() { - // One change, no rules, no dst changes. - - // Z Indian/Kerguelen 0 - -00 1950 - // 5 - +05 - - // Make sure the entry is present in the database. - if (std::chrono::get_tzdb().version < "2024a") - return; - - const std::chrono::time_zone* tz = std::chrono::locate_zone("Indian/Kerguelen"); - - std::chrono::sys_seconds transition = - to_sys_seconds(std::chrono::year(1950), std::chrono::January, std::chrono::day(1)); - - assert_equal( - std::chrono::sys_info( - std::chrono::sys_seconds::min(), // - transition, // - std::chrono::seconds(0), // - std::chrono::minutes(0), // - "-00"), // - tz->get_info(std::chrono::sys_seconds::min())); - - assert_equal( - std::chrono::sys_info( - std::chrono::sys_seconds::min(), // - transition, // - std::chrono::seconds(0), // - std::chrono::minutes(0), // - "-00"), // - tz->get_info(transition - std::chrono::seconds{1})); - - assert_equal( - std::chrono::sys_info( - transition, // - std::chrono::sys_seconds::max(), // - std::chrono::hours(5), // - std::chrono::minutes(0), // - "+05"), // - tz->get_info(transition)); -} - static void test_antarctica_syowa() { // One change, no rules, no dst changes // This change uses an ON field with a day number @@ -1343,7 +1300,6 @@ int main(int, const char**) { // Basic tests test_gmt(); test_durations(); - test_indian_kerguelen(); test_antarctica_syowa(); test_asia_hong_kong(); test_europe_berlin();