Issues

Issue #1271 wontfix

Doctest directive and dots not hidden

Marco Buttu
created an issue

When in a code block there is a doctest directive, like this one:

>>> foo # A Comment
... # doctest: +SKIP
representation of foo

the output (I tryied in html) is:

>>> foo # A Comment
...
representation of foo

The dots still present.

Comments (6)

  1. Georg Brandl repo owner

    I don't think this is a big issue (since this form of putting the directive in a line of its own is uncommon), and the effort to remove these lines completely would probably be nontrivial.

  2. Marco Buttu reporter

    I think this use of the directive is not an option when the instruction is commented, as in my example. In this case you have to put the directive in the line that follows the instruction.

  3. Log in to comment