Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/p/y/python-fundamentals-HEAD/challenges/03-Conditionals/test_A_checking_the_right_thing.py   python-fundamentals(Download)
def test_can_drink(capsys):
    # Again being a bit funny to grab the print...
    import A_checking_the_right_thing as A
    assert A.sally_can_drink == False # Using == False to get clearer errors!
    assert A.john_can_drink == True