PyTest - Basics and Setup
What will be the output when running this
pytest test code?def test_example():
x = 5
y = 2
assert x - y == 3pytest test code?def test_example():
x = 5
y = 2
assert x - y == 35 - 2 == 3 is true, so the assertion passes.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions