#8800: Doctest coverage of categories - numerous coercion fixes
--------------------------+-------------------------------------------------
   Reporter:  SimonKing   |       Owner:  Simon King         
       Type:  defect      |      Status:  needs_review       
   Priority:  major       |   Milestone:  sage-4.6.1         
  Component:  categories  |    Keywords:  categories doctests
     Author:  Simon King  |    Upstream:  N/A                
   Reviewer:              |      Merged:                     
Work_issues:              |  
--------------------------+-------------------------------------------------

Comment(by cremona):

 Test failures:
 {{{
 sage -t  "sage/groups/perm_gps/permgroup.py"
 **********************************************************************
 File "/home/john/sage-4.6.1.alpha2/devel/sage-
 main/sage/groups/perm_gps/permgroup.py", line 1114:
     sage: G.random_element()
 Expected:
     (2,3)(4,5)
 Got:
     (1,2)(4,5)
 **********************************************************************
 1 items had failures:
    1 of   4 in __main__.example_34
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /home/john/.sage//tmp/.doctest_permgroup.py
          [7.8 s]

 ----------------------------------------------------------------------
 The following tests failed:


         sage -t  "sage/groups/perm_gps/permgroup.py"
 Total time for all tests: 7.9 seconds
 j...@john-laptop%sage -t  "sage/rings/number_field/number_field.py"
 sage -t  "sage/rings/number_field/number_field.py"
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.TypeError'> ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.TypeError'> ignored
 Exception RuntimeError: 'maximum recursion depth exceeded while calling a
 Python object' in <type 'exceptions.GeneratorExit'> ignored
 Exception RuntimeError: 'maximum recursion depth exceeded while calling a
 Python object' in <type 'exceptions.GeneratorExit'> ignored
 Exception GeneratorExit in <generator object <genexpr> at 0xc094e64>
 ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.TypeError'> ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.TypeError'> ignored
 Exception RuntimeError: 'maximum recursion depth exceeded while calling a
 Python object' in <type 'exceptions.GeneratorExit'> ignored
 Exception RuntimeError: 'maximum recursion depth exceeded while calling a
 Python object' in <type 'exceptions.GeneratorExit'> ignored
 Exception GeneratorExit in <generator object <genexpr> at 0xc094d74>
 ignored
 Exception RuntimeError: 'maximum recursion depth exceeded while calling a
 Python object' in <type 'exceptions.TypeError'> ignored
 Exception RuntimeError: 'maximum recursion depth exceeded while calling a
 Python object' in <type 'exceptions.TypeError'> ignored
 **********************************************************************
 File "/home/john/sage-4.6.1.alpha2/devel/sage-
 main/sage/rings/number_field/number_field.py", line 2960:
     sage: K.selmer_group([K.ideal(2, -a+1), K.ideal(3, a+1), K.ideal(a)],
 3)
 Expected:
     [2, a + 1, a]
 Got:
     [2, a + 1, -a]
 **********************************************************************
 1 items had failures:
    1 of  12 in __main__.example_62
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /home/john/.sage//tmp/.doctest_number_field.py
          [82.3 s]

 ----------------------------------------------------------------------
 The following tests failed:


         sage -t  "sage/rings/number_field/number_field.py"
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8800#comment:45>
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