Skip to content

Commit 0860c80

Browse files
Grociucmccandless
authored andcommitted
tournament: sync with canon (exercism#1832)
1 parent a2ef78c commit 0860c80

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

exercises/tournament/tournament.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
def tally(tournament_results):
1+
def tally(rows):
22
pass

exercises/tournament/tournament_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def test_just_the_header_if_no_input(self):
1212
['Team | MP | W | D | L | P']
1313
)
1414

15-
def test_a_win_is_three_points_and_a_loss_is_zero_points(self):
15+
def test_a_win_is_three_points_a_loss_is_zero_points(self):
1616
results = ['Allegoric Alaskans;Blithering Badgers;win']
1717
table = ['Team | MP | W | D | L | P',
1818
'Allegoric Alaskans | 1 | 1 | 0 | 0 | 3',
@@ -82,7 +82,7 @@ def test_typical_input(self):
8282

8383
self.assertEqual(tally(results), table)
8484

85-
def test_incomplete_competitionnot_not_all_pairs_have_played(self):
85+
def test_incomplete_competition_not_all_pairs_have_played(self):
8686
results = ['Allegoric Alaskans;Blithering Badgers;loss',
8787
'Devastating Donkeys;Allegoric Alaskans;loss',
8888
'Courageous Californians;Blithering Badgers;draw',

0 commit comments

Comments
 (0)