PyTest - Fixtures
Identify the error in this pytest fixture code:
import pytest
@pytest.fixture
class my_fixture:
def __init__(self):
self.value = 10
def test_value(my_fixture):
assert my_fixture.value == 10