PyTest - Writing Assertions
Identify the error in this test code snippet:
def test_approx():
result = 1.0001
assert result == pytest.approx(1.0, rel=0.00001)