Thank you for your reply!

Tanu Hari Dixit.

On Monday, January 4, 2016 at 11:23:03 PM UTC+5:30, Tanu Hari Dixit wrote:
>
> Is there a way to have optional doctests that depend on optional 
> dependencies 
> so that they are executed when the optional dependency is present and
> skipped when not?
> @skipif of pytest [1] or @skipIf of unittest [2] library work for tests 
> and not doctests. 
> Does a similar functionality exist for doctest?
>
> [1]
> https://github.com/astropy/astropy/blob/master/docs/development/testguide.rst#tests-requiring-optional-dependencies
> [2]https://docs.djangoproject.com/en/1.4/topics/testing/#skipping-tests
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/d7ec67b4-79b8-429e-aa3a-f3658b3a75d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to