On Tuesday, April 12, 2016 at 8:37:53 AM UTC+1, Jeroen Demeyer wrote: > > On 2016-04-12 00:04, Nicolas M. Thiery wrote: > > Dear Sage developers, > > > > It's quite common that optional doctests come in batch, typically when > > documenting a method that is only available when a certain feature or > > package is available. > > Let me add something here: often, not *every* test requires the optional > package. It can happen that basic things like initializing and printing > some object does not need any optional functionality. In this case, it > is good to always run these tests. And having the module-level "# > optional" goes against this. >
perhaps a meaningful compromise would be test-wise #optional tags, per test/example or per test/example block, i.e. TESTS: blah :: #optional - foo bah :: # nothing optional needed here .... EXAMPLES :: #optional - foo, bar -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.