nicely for common tedious causes of skipping:
import a module and checking it has a certain
version. usage example:
docutils = py.test.importorskip(docutils, minversion="0.4")
* used new helper and cleanup skipping logic in py lib
--HG--
branch : trunk
(which can build C modules on the fly)
it's not clear they are still useful this way
and they are easy to confuse with pyimport()
--HG--
branch : trunk
"config.option.boxed" indicates now boxed tests
and RSession.fixoptions takes care to honour
dist_boxed accordingly. So you can do
if not py.test.config.boxed:
py.test.skip(...)
i also fixed the documentation.
--HG--
branch : trunk
the .lock, otherwise the other processes run the risk of seeing their temporary
dir disappear. For now we remove the .lock in the parent only (i.e. we assume
that the children finish before the parent).
This is needed for long-running pypy translate.py processes using
--fork-before.
--HG--
branch : trunk