PyTest - Basics and Setup
What will be the result when running this PyTest test?
def test_example():
x = 5
y = 2
assert x - y == 3def test_example():
x = 5
y = 2
assert x - y == 3x - y which is 5 - 2 = 3.3 == 3, which is true, so no error is raised.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions