Originally reported by: **Oleg Pidsadnyi (BitBucket: [olegp](http://bitbucket.org/olegp), GitHub: [olegp](http://github.com/olegp))** --- If I have the package with the conftest.py: ``` #!python from pytest import fixture @fixture def foo(): return 'parent' ``` And I have subfolder with the conftest.py: ``` #!python from pytest import fixture @fixture def foo(): return 'child' ``` And the test_foo.py in the same subfolder: ``` #!python def test_foo(foo): assert foo == 'child' ``` It works when I simply run py.test in the parent folder. It doesn't work when I run py.test subfolder/test_foo.py For some reason the value is 'parent', not 'child' --- - Bitbucket: https://bitbucket.org/pytest-dev/pytest/issue/294