PyTest - Fixtures
Identify the error in the following pytest code:
import pytest
@pytest.fixture
def data():
return [1, 2, 3]
def test_sum():
result = data + [4]
assert sum(result) == 10
