Skip to content

Commit bac6f26

Browse files
dangillethugovk
andauthored
Apply suggestion from @hugovk
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 906a38c commit bac6f26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_time.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_naturaldelta_nomonths(test_input: dt.timedelta, expected: str) -> None:
104104
(dt.timedelta(minutes=59), "59 minutes"),
105105
(dt.timedelta(minutes=59, seconds=30), "an hour"),
106106
(dt.timedelta(hours=1, minutes=29), "an hour"),
107-
# Round to nearest, ties away from zero.
107+
# Round to nearest, ties to even.
108108
# See https://en.wikipedia.org/wiki/IEEE_754#Rounding_rules
109109
(dt.timedelta(hours=1, minutes=30), "2 hours"),
110110
(dt.timedelta(hours=2, minutes=30), "2 hours"),

0 commit comments

Comments
 (0)