PyTest - Writing Assertions
Identify the error in this test code:
def test_approx():
value = 2.5
assert value == approx(2.5)def test_approx():
value = 2.5
assert value == approx(2.5)15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions