Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

        def enforce(name, age, is_drinking):
    # Replace "pass" with some logic to test things out
    pass
        


src/p/y/python-fundamentals-HEAD/challenges/04-Functions/test_A_checking_again.py   python-fundamentals(Download)
def test_enforce(capsys):
    A.enforce("John", 18, False)
    A.enforce("Chuck", 18, True)
    A.enforce("Bob", 21, True)
    out, _ = capsys.readouterr()