#19271: Fix logging in doctester
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  critical           |    Milestone:  sage-6.9
      Component:  doctest framework  |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/logs_test_log_should_log_the_tests|  
43d33d4b8abd0ad8ffa193fb900d4036f5c6122a
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jhpalmieri):

 I think you also need this change:
 {{{
 #!diff
 diff --git a/src/sage/doctest/control.py b/src/sage/doctest/control.py
 index ac7fec0..6bff5c7 100644
 --- a/src/sage/doctest/control.py
 +++ b/src/sage/doctest/control.py
 @@ -210,7 +210,7 @@ class Logger(object):
          self.files = list(files)

      def write(self, x):
 -        """
 +        r"""
          Write ``x`` to all files.

          TESTS::
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19271#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to