[Pytest-commit] Issue #460: AttributeError: 'SubRequest' object has no attribute 'param' (hpk42/pytest)

Nikolaus Rath issues-reply at bitbucket.org
Wed Feb 12 03:27:53 CET 2014


New issue 460: AttributeError: 'SubRequest' object has no attribute 'param'
https://bitbucket.org/hpk42/pytest/issue/460/attributeerror-subrequest-object-has-no

Nikolaus Rath:

The attached meta-test-case results in


```
#!

    @pytest.fixture(params=(0,1,2))
    def param1(request):
>       return request.param
E       AttributeError: 'SubRequest' object has no attribute 'param'
```

with pytest from Mercurial tip.





More information about the pytest-commit mailing list