Ticket #4600 (closed defect: fixed)
[with patch; positive review] followup issue on sage -only_optional
| Reported by: | was | Owned by: | mabshoff |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.2.1 |
| Component: | doctest | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
16:47 < wstein> mabshoff -- there is definitely an "issue" with only-optional. 16:48 < mabshoff> ok 16:48 < mabshoff> What is it? 16:48 < wstein> e.g., if you do 16:48 < wstein> sage: x = 5 16:48 < wstein> sage: y = x + 2 # optional - gap 16:48 < wstein> sage: y # optional -gap 16:48 < wstein> 7 16:49 < wstein> Then if you don't include the gap tag it will actually doctest: 16:49 < wstein> sage: x = 5 16:49 < wstein> 7 16:49 < mabshoff> Yes, that is why it should run the block 16:49 < wstein> which will fail. 16:49 < mabshoff> ok 16:49 < wstein> The problem is that it is including output when it shouldn't. 16:49 < mabshoff> true 16:49 < wstein> i'll make another ticket. 16:49 < wstein> I have to fix this to manage working on the magma interface.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

