PyTest - Writing Assertions
Identify the syntax error in this pytest assertion:
def test_example():
x = 10
assert x == 5 "x must be 5"def test_example():
x = 10
assert x == 5 "x must be 5"x == 5 and "x must be 5".15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions