[py-dev] funcarg name clash / conftest load behaviour
holger krekel
holger at merlinux.eu
Fri Jun 25 10:59:00 CEST 2010
On Fri, Jun 25, 2010 at 10:55 +0200, holger krekel wrote:
> However, i'd like to try to get rid of the py.test.collect.Directory subclass customization
> possibility alltogether and rather provide a simple hook which directly implements directory
> collection, it would simplify internal code and as a side effect remove the surprise you encountered.
> (because no attempt to collect anything under 'b' would be made and thus no a/conftest.py consulted
> when calling py.test on 'a')
um, ... fixed: because no attempt to collect anything under 'b' would be made
and thus no b/conftest.py consulted when calling py.test on 'a'
all those little a's and b's :)
holger
More information about the Pytest-dev
mailing list