Opened 9 years ago

Closed 7 years ago

#11336 closed defect (duplicate)

Update doctest tolerance to work with print statement.

Reported by: robertwb Owned by: mvngu
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: doctest coverage Keywords:
Cc: Merged in:
Authors: Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

Currently, #10952 only works with expressions, not stdout.

Change History (6)

comment:1 Changed 9 years ago by zimmerma

Robert, please can you give a concrete example of what fails "with stdout"?

Paul

comment:2 Changed 9 years ago by robertwb

It fails if you write something like "print 3.14" or invoke a function that prints something instead of (or in addition to) returning a result. I've got a better fix in progress.

comment:3 Changed 7 years ago by jdemeyer

  • Milestone changed from sage-5.8 to sage-duplicate/invalid/wontfix
  • Reviewers set to Jeroen Demeyer
  • Status changed from new to needs_review

Fixed by #12415.

comment:4 Changed 7 years ago by jdemeyer

  • Status changed from needs_review to positive_review

comment:5 Changed 7 years ago by zimmerma

  • Summary changed from Update doctest tolorance to work with print statement. to Update doctest tolerance to work with print statement.

comment:6 Changed 7 years ago by jdemeyer

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