Skip to content

Commit d051608

Browse files
cliffhallclaude
andcommitted
test(time): cite the newly filed issues in KNOWN BUG markers
The bugs these tests pin had no issue when the markers were added, so the markers read "KNOWN BUG (no issue)". They are now filed under the Wave 2 tracker #5004, so each marker cites its issue number. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent d8938ed commit d051608

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/time/tests/test_protocol.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ async def test_empty_local_timezone_override_is_treated_as_absent() -> None:
235235
assert result == {"tools": expected_tools("Africa/Cairo")}
236236

237237

238-
# KNOWN BUG (no issue): an invalid --local-timezone crashes serve() with a traceback instead of a clean error; the fix changes this assertion.
238+
# KNOWN BUG #5001: an invalid --local-timezone crashes serve() with a traceback instead of a clean error; the fix changes this assertion.
239239
async def test_invalid_local_timezone_fails_before_the_transport_opens() -> None:
240240
# An unknown `--local-timezone` raises out of `serve()` itself, before
241241
# stdio is opened: the process dies with a traceback instead of starting.
@@ -709,7 +709,7 @@ async def test_convert_time_anchors_to_today_in_the_source_timezone() -> None:
709709
assert result["target"]["datetime"] == "2024-01-02T00:00:00+00:00"
710710

711711

712-
# KNOWN BUG (no issue): a nonexistent (spring-forward) local time is converted as if valid, with no warning; the fix changes this assertion.
712+
# KNOWN BUG #5002: a nonexistent (spring-forward) local time is converted as if valid, with no warning; the fix changes this assertion.
713713
async def test_convert_time_into_a_nonexistent_local_time() -> None:
714714
# 02:30 on 2024-03-10 does not exist in New York (clocks jump 02:00 ->
715715
# 03:00). With fold=0 zoneinfo uses the pre-transition offset (EST), so
@@ -811,7 +811,7 @@ async def test_convert_time_ignores_extra_arguments() -> None:
811811
assert result["target"]["timezone"] == "UTC"
812812

813813

814-
# KNOWN BUG (no issue): an empty source_timezone surfaces zoneinfo's raw message, unlike get_current_time's "Missing required argument"; the fix changes this assertion.
814+
# KNOWN BUG #5003: an empty source_timezone surfaces zoneinfo's raw message, unlike get_current_time's "Missing required argument"; the fix changes this assertion.
815815
@pytest.mark.parametrize(
816816
"arguments,expected",
817817
[

0 commit comments

Comments
 (0)