Skip to content

Instantly share code, notes, and snippets.

@Weyzu
Created August 27, 2017 18:59
Show Gist options
  • Save Weyzu/f9a7d56b135f8a9f3bc30978af0ec9f7 to your computer and use it in GitHub Desktop.
Save Weyzu/f9a7d56b135f8a9f3bc30978af0ec9f7 to your computer and use it in GitHub Desktop.
@pytest.mark.parametrize('leap_year', [2016, 2020, 2024, 2028, 2400])
def test_is_leap_year_returns_true_for_leap_years(leap_year):
assert is_leap_year(leap_year)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment