projects/guix·blob python-team · refs

29 lines · 1.1 KiB

1These tests were dropped upstream in version 10.1.0 and are arguable broken
2before that.
3
4diff --git a/test/chrono-test.cc b/test/chrono-test.cc
5index 33c0c2c6653e..f047c1ea90c8 100644
6--- a/test/chrono-test.cc
7+++ b/test/chrono-test.cc
8@@ -730,9 +730,6 @@ TEST(chrono_test, special_durations) {
9 "03:33");
10 EXPECT_EQ(fmt::format("{:%T}", std::chrono::duration<char, std::mega>{2}),
11 "03:33:20");
12- EXPECT_EQ("44.000000000000",
13- fmt::format("{:%S}", std::chrono::duration<float, std::pico>(
14- 1.54213895E+26)));
15 }
16
17 TEST(chrono_test, unsigned_duration) {
18diff --git a/test/format-test.cc b/test/format-test.cc
19index baf33569f96d..52ac2cafeade 100644
20--- a/test/format-test.cc
21+++ b/test/format-test.cc
22@@ -1427,7 +1427,6 @@ TEST(format_test, prettify_float) {
23 EXPECT_EQ("12.34", fmt::format("{}", 1234e-2));
24 EXPECT_EQ("0.001234", fmt::format("{}", 1234e-6));
25 EXPECT_EQ("0.1", fmt::format("{}", 0.1f));
26- EXPECT_EQ("0.10000000149011612", fmt::format("{}", double(0.1f)));
27 EXPECT_EQ("1.3563156e-19", fmt::format("{}", 1.35631564e-19f));
28 }
29