#9958: Upgrade python to 2.7.x
---------------------------+------------------------------------------------
   Reporter:  mhampton     |          Owner:  tbd                          
       Type:  enhancement  |         Status:  needs_review                 
   Priority:  major        |      Milestone:  sage-5.0                     
  Component:  packages     |       Keywords:                               
Work_issues:               |       Upstream:  N/A                          
   Reviewer:               |         Author:  François Bissey              
     Merged:               |   Dependencies:  #5852, #11986, #12085, #12096
---------------------------+------------------------------------------------

Comment(by fbissey):

 OK Jeroen, that's a boring task for someone most of them are of the form:
 {{{
 diff --git a/sage/misc/sage_unittest.py b/sage/misc/sage_unittest.py
 --- a/sage/misc/sage_unittest.py
 +++ b/sage/misc/sage_unittest.py
 @@ -201,12 +201,12 @@
              Failure in _test_b:
              Traceback (most recent call last):
                ...
 -            AssertionError
 +            AssertionError: None
              ------------------------------------------------------------
              Failure in _test_d:
              Traceback (most recent call last):
                ...
 -            AssertionError
 +            AssertionError: None
              ------------------------------------------------------------
              Failure in _test_pickling:
              Traceback (most recent call last):
 @@ -220,14 +220,14 @@
              running ._test_b() . . . fail
              Traceback (most recent call last):
                ...
 -            AssertionError
 +            AssertionError: None
              ------------------------------------------------------------
              running ._test_c() . . . pass
              running ._test_category() . . . pass
              running ._test_d() . . . fail
              Traceback (most recent call last):
                ...
 -            AssertionError
 +            AssertionError: None
              ------------------------------------------------------------
              running ._test_not_implemented_methods() . . . pass
              running ._test_pickling() . . . fail
 @@ -249,7 +249,7 @@
                File ..., in _test_b
                  def _test_b(self, tester): tester.fail()
                ...
 -            AssertionError
 +            AssertionError: None

          In conjonction with ``%pdb on``, this allows for the debbuger
          to jump directly to the first failure location.
 @@ -311,7 +311,7 @@
          sage: tester.assert_(1 == 0)
          Traceback (most recent call last):
          ...
 -        AssertionError
 +        AssertionError: False is not true
          sage: tester.assert_(1 == 0, "this is expected to fail")
          Traceback (most recent call last):
          ...
 }}}
 and other numerical noise niceties cutting one digit and sometimes the
 rounding makes a lot of digits disappear (and it looks better actually),
 for example in plot/colors.py
 {{{
 @@ -290,23 +290,23 @@

          sage: from sage.plot.colors import rgbcolor
          sage: rgbcolor(Color(0.25, 0.4, 0.9))
 -        (0.25, 0.40000000000000002, 0.90000000000000002)
 +        (0.25, 0.4, 0.9)
          sage: rgbcolor('purple')
 }}}
 Only the two combinat patches are a bit more subtle.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:211>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to