PyTest - Writing Assertions
What will happen when this test is executed?
def test_precision():
assert 1.0002 == pytest.approx(1.0, rel=1e-3)def test_precision():
assert 1.0002 == pytest.approx(1.0, rel=1e-3)15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions