[svn r58308] * de-generalize conditional skips and only care
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
This commit is contained in:
@@ -8,3 +8,4 @@ def getdata():
|
||||
tmpdir = py.test.ensuretemp(rel.replace(pydir.sep, '_'))
|
||||
mydatadir.copy(tmpdir)
|
||||
return tmpdir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user