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/04-Functions/test_B_avoiding_side_effects.py   python-fundamentals(Download)
def test_exponentiate(capsys):
    # This is the last time, I swear!
    import B_avoiding_side_effects as B
    assert B.exponentiate(2,10) == 1024
    out, _ = capsys.readouterr()