Created
August 27, 2017 18:02
-
-
Save Weyzu/afae5d118126cfd7d623ec5dcbf14e33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_is_leap_year_returns_true_for_leap_years(): | |
leap_years = [2016, 2020, 2023, 2028, 2400] | |
for leap_year in leap_years: | |
yield assert_is_leap, leap_year | |
def assert_is_leap(year): | |
assert_true(is_leap_year(year)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! Thanks for responding!
You're right! And I didn't know nose2 wasn't "ready" for serious work. Seems they're currently still at 0.10.0 🤷♂️