[py-svn] r63088 - py/extradoc/talk/pycon-us-2009/pytest-advanced

hpk at codespeak.net hpk at codespeak.net
Thu Mar 19 17:32:42 CET 2009


Author: hpk
Date: Thu Mar 19 17:32:42 2009
New Revision: 63088

Modified:
   py/extradoc/talk/pycon-us-2009/pytest-advanced/pytest-advanced.txt
Log:
doctests needs work, but for now skipping with ValueErrors is to stay.


Modified: py/extradoc/talk/pycon-us-2009/pytest-advanced/pytest-advanced.txt
==============================================================================
--- py/extradoc/talk/pycon-us-2009/pytest-advanced/pytest-advanced.txt	(original)
+++ py/extradoc/talk/pycon-us-2009/pytest-advanced/pytest-advanced.txt	Thu Mar 19 17:32:42 2009
@@ -165,11 +165,10 @@
 Skipping Doctests / ReST 
 ======================================
 
-XXX check with code
-
 with 'pytest_restdoc' plugin::
 
-    .. >>> mypkg = py.test.importorskip("mypkg") 
+    .. >>> import py 
+    .. >>> if py.test.config.option.xyz: raise ValueError("skipchunk") 
     >>> x = 3
     >>> print x
     3



More information about the pytest-commit mailing list