[py-dev] KeyError in xdist/looponfail.py
holger krekel
holger at merlinux.eu
Thu Apr 14 21:37:15 CEST 2011
On Thu, Apr 14, 2011 at 20:51 +0200, Ralf Schmitt wrote:
> holger krekel <holger at merlinux.eu> writes:
>
> > Hey Ralf,
> >
> > can you give me the output of "py.test --version"?
>
> yes, sorry. should have mentioned that, but I was in a hurry and didn't
> want to let the issue get lost.
>
> ,----
> | This is py.test version 2.0.2, imported from /home/ralf/local/lib/python2.7/site-packages/pytest.pyc
> | setuptools registered plugins:
> | pytest-xdist-1.5 at /home/ralf/local/lib/python2.7/site-packages/xdist/plugin.pyc
> `----
>
> > And when exactly is searchproc_flymake.py created and removed?
>
> after saving searchproc.py, emacs creates searchproc_flymake.py, runs pyflakes
> on it and then deletes it.
>
> > (the looponfail-detection code should be robust against file
> > removals but maybe there is a race condition)
>
> I'm pretty sure there is a race condition :)
i now understand which one, i think :) and fixed it in 1.6.dev4.
could you try out "pip install -U -i http://pypi.testrun.org pytest-xdist"?
best,
holger
More information about the Pytest-dev
mailing list