import pytest
@pytest.fixture()
def before_meth(scope='module'):
print('before_meth Setup')
yield
print('teardown')
def inc(x):
return x + 1
def test_answer(before_meth):
assert inc(3) == 4
One-Time
Monthly
Yearly
Make a one-time donation
Make a monthly donation
Make a yearly donation
Choose an amount
¤5.00
¤15.00
¤100.00
¤5.00
¤15.00
¤100.00
¤5.00
¤15.00
¤100.00
Or enter a custom amount
¤
Your contribution is appreciated.
Your contribution is appreciated.
Your contribution is appreciated.
Buy Me a CoffeeBuy Me a CoffeeBuy Me a Coffee
Nice Article for beginners
LikeLike