style: drop "— Game X" from all series blurbs
CI / Lint (push) Failing after 5s
CI / Test (push) Has been skipped
CI / Build & Push (push) Has been skipped

The game number is redundant with the series summary already shown on
the card. Blurbs now read cleaner: "Win-or-go-home." instead of
"Win-or-go-home — Game 7."

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-23 12:07:16 -04:00
parent c95bea879d
commit fac1a0ecbc
2 changed files with 7 additions and 10 deletions
+2 -5
View File
@@ -73,7 +73,7 @@ class TestSeriesBlurb:
def test_game7_blurb(self):
game = make_playoff_game(top_wins=3, bottom_wins=3)
assert series_blurb(game) == "Win-or-go-home \u2014 Game 7."
assert series_blurb(game) == "Win-or-go-home."
def test_clincher_blurb_names_leader(self):
game = make_playoff_game(
@@ -86,12 +86,10 @@ class TestSeriesBlurb:
blurb = series_blurb(game)
assert "Top Seeds" in blurb
assert "close it out" in blurb
assert "Game 5" in blurb
def test_pivotal_blurb(self):
game = make_playoff_game(top_wins=2, bottom_wins=2)
assert "pivotal" in series_blurb(game).lower()
assert "Game 5" in series_blurb(game)
def test_leader_trailer_blurb(self):
game = make_playoff_game(top_wins=2, bottom_wins=1)
@@ -102,8 +100,7 @@ class TestSeriesBlurb:
def test_tied_mid_series_blurb(self):
game = make_playoff_game(top_wins=1, bottom_wins=1)
blurb = series_blurb(game)
assert "1" in blurb
assert "Game 3" in blurb
assert "11" in blurb
def test_final_clincher_falls_through_to_leader_blurb(self):
# Post-game seriesStatus (3-0) would trigger the clincher branch, but