# Adapted from the test_sample.py example in the pytest documentation def inc(x): return x + 1 def test_answer(): assert inc(3) == 4