PyTest - Writing Assertions
What will be the result of this test code?
def test_value():
value = 0.1 + 0.2
assert value == pytest.approx(0.3)def test_value():
value = 0.1 + 0.2
assert value == pytest.approx(0.3)15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions