Re: [pytest-dev] solving the too static fixture scope problem

2013-10-13 Thread holger krekel
Hi Ronny, On Fri, Oct 11, 2013 at 17:58 +0200, Ronny Pfannschmidt wrote: Hi Holger, i think that just 'each' is too generic, i'd rather see something more specific like scope='session,function' TLDR, i think you are tackling a different issue and one which i am not sure we need to solve.

Re: [pytest-dev] solving the too static fixture scope problem

2013-10-11 Thread Florian Schulze
On 11.10.2013, at 12:57, holger krekel hol...@merlinux.eu wrote: On Fri, Oct 11, 2013 at 12:51 +0200, Florian Schulze wrote: I would expect the behaviour you describe for scope=each to be the default for a fixture without a scope. Why introduce a new scope for that? Am I missing something?

Re: [pytest-dev] solving the too static fixture scope problem

2013-10-11 Thread Bruno Oliveira
On Fri, Oct 11, 2013 at 8:14 AM, Vladimir Keleshev vladi...@keleshev.comwrote: If you refer to tmpdir/monkeypatch and potentially others, i agree that the current behaviour is more surprising (sharing the tmpdir across multiple fixtures which don't even neccessarily know about each

Re: [pytest-dev] solving the too static fixture scope problem

2013-10-11 Thread holger krekel
On Fri, Oct 11, 2013 at 10:51 -0300, Bruno Oliveira wrote: On Fri, Oct 11, 2013 at 8:35 AM, holger krekel hol...@merlinux.eu wrote: On Fri, Oct 11, 2013 at 08:25 -0300, Bruno Oliveira wrote: On Fri, Oct 11, 2013 at 8:14 AM, Vladimir Keleshev vladi...@keleshev.comwrote: If you