-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
@Ef-Eff reported in exercism/exercism#3552:
The last test for the Python challenge Meetup is written incorrectly, it is simply missing the parentheses for the function after the exception.
This:
def test_nonexistent_fifth_monday_of_february_2015(self): self.assertRaises(MeetupDayException, meetup_day, 2015, 2, 'Monday', '5th')
Should be this:
def test_nonexistent_fifth_monday_of_february_2015(self): self.assertRaises(MeetupDayException, meetup_day(2015, 2, 'Monday', '5th'))
After making this change, the test worked as intended.
@catb0t noted:
this is the relevant line and file, and 0d6d90f introduced it.
Here's our documentation about exercise test suites on Exercism in general:
https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/exercise-test-suites.md
Check out the README and CONTRIBUTING guide in this repository to check for considerations specific to Python.