Skip to content

Commit f8699ea

Browse files
committed
fix(auth): drop stale no-cover pragmas on jitter clamp guards now exercised by tests
1 parent b6da2c6 commit f8699ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/mcp/shared/auth_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ def calculate_token_refresh_time(
151151
# zero TTLs this collapses gracefully toward `now` rather than going negative or
152152
# past the hard-expiry boundary.
153153
if refresh_at < now:
154-
refresh_at = now # pragma: no cover
154+
refresh_at = now
155155
if refresh_at > hard_expiry:
156-
refresh_at = hard_expiry # pragma: no cover
156+
refresh_at = hard_expiry
157157

158158
return refresh_at

0 commit comments

Comments
 (0)