Ticket #12856 (closed enhancement: duplicate)

Opened 13 months ago

Last modified 4 months ago

multiline doctests starting with '....:'

Reported by: dkrenn Owned by: mvngu
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: doctest coverage Keywords: multiline doctest
Cc: Work issues:
Report Upstream: N/A Reviewers: Daniel Krenn
Authors: Merged in:
Dependencies: Stopgaps:

Description (last modified by dkrenn) (diff)

Since the Sage prompt for multiline commands is ....:, this should also work for doctests. At the moment you have to use the python ... prompt for doctests.

Apply attachment:trac_12856_multiline_doctests.patch Download to the scripts repo.

Attachments

trac_12856_multiline_doctests.patch Download (1016 bytes) - added by dkrenn 13 months ago.

Change History

Changed 13 months ago by dkrenn

comment:1 Changed 13 months ago by dkrenn

  • Status changed from new to needs_review
  • Description modified (diff)
  • Authors set to Daniel Krenn

comment:2 Changed 13 months ago by dkrenn

Patch attachment:trac_12856_multiline_doctests.patch Download is built on 5.0.beta13.

comment:3 Changed 13 months ago by kini

See also #10458 and #12415. (I suspect this and/or #10458 would need to be rebased on #12415 since the latter rewrites much of the doctest framework.)

comment:4 Changed 13 months ago by kini

Actually I guess this ticket is pretty much a duplicate of #10458...

comment:5 Changed 4 months ago by jdemeyer

  • Status changed from needs_review to positive_review
  • Reviewers set to Daniel Krenn
  • Milestone changed from sage-5.7 to sage-duplicate/invalid/wontfix
  • Authors Daniel Krenn deleted

comment:6 Changed 4 months ago by jdemeyer

  • Status changed from positive_review to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.