[pytest-dev] conftest.py ordering depends on the current directory?
holger at merlinux.eu
Mon Sep 15 13:50:00 CEST 2014
On Mon, Sep 15, 2014 at 13:26 +0200, Wolfgang Schnerring wrote:
> Hi Holger,
> * holger krekel [2014-09-15 10:47]:
> > You win :) It's a real bug and thanks for the replicatable example.
> > I fixed it here https://bitbucket.org/hpk42/pytest/pull-request/202/fix-conftest-related-fixture-visibility/diff
> Wow, that was quick! Thank you very much! :)
Was a bit by chance -- originally i wanted to ask you to file a bug issue
and decided to "quickly" look into the issue in order to highlight where
the problem likely is to ease a PR by someone else. When trying to state/
pinpoint the problem somewhat precisely, i looked a bit further ... and
further ... and after more head scratching eventually just changed
2 LOCs only 1-2 hours later ...
If you hadn't provided an easy way to reproduce the problem that
wouldn't have happened, though. The only way you could have done even
better is with a PR that adds an xfailing test directly :)
More information about the Pytest-dev