PyTest - Fixtures
Find the bug in this fixture factory usage:
```python
@pytest.fixture
def factory():
def inner(x):
return x * 2
return inner
def test_double(factory):
assert factory == 4
```
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions