Skip to content

Commit

Permalink
Merge pull request gregmalcolm#168 from noloman/master
Browse files Browse the repository at this point in the history
Remove redundant `expected` variable
  • Loading branch information
kjc authored Feb 11, 2018
2 parents babe797 + ac8c11a commit f4b2b8d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion Contributor Notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Testing a specific koan
===================================

This will help when adding/modifing koans
This will help when adding/modifying koans

Running a whole test case:

Expand Down
6 changes: 0 additions & 6 deletions python2/runner/runner_tests/test_sensei.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,6 @@ def test_that_nothing_is_returned_as_sorted_result_if_there_are_3_shuffled_resul
(AboutMessiahs(),"File 'about_messiahs.py', line 844")
]

expected = [
(AboutTennis(),"File 'about_tennis.py', line 2"),
(AboutTennis(),"File 'about_tennis.py', line 30"),
(AboutTennis(),"File 'about_tennis.py', line 299")
]

results = self.sensei.sortFailures("AboutTennis")
self.assertEqual(3, len(results))
self.assertEqual(2, results[0][0])
Expand Down
6 changes: 0 additions & 6 deletions python3/runner/runner_tests/test_sensei.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ def test_that_nothing_is_returned_as_sorted_result_if_there_are_3_shuffled_resul
(AboutMessiahs(),"File 'about_messiahs.py', line 844")
]

expected = [
(AboutTennis(),"File 'about_tennis.py', line 2"),
(AboutTennis(),"File 'about_tennis.py', line 30"),
(AboutTennis(),"File 'about_tennis.py', line 299")
]

results = self.sensei.sortFailures("AboutTennis")
self.assertEqual(3, len(results))
self.assertEqual(2, results[0][0])
Expand Down

0 comments on commit f4b2b8d

Please sign in to comment.