On Tue, Nov 10, 2009 at 02:09:28PM -0800, William Stein wrote:
> 
> Can you run tests with --verbose or even --gdb so we can see what
> causes the errors?
> 

Argh I was not fully awake when checking this and I ran the tests with
the sage executable from the path rather than the one I just built.

So the mysterious errors are gone.  vector_double_dense.pyx passes
long tests, while graphs_database.py now gives a proper doctest error,
see below.  I haven't fully analysed the differences, but it seems
that the order in which the graphs are listed is different (it's
supposed to be increasing in the number of vertices, but what I'm
getting is not).  I have double-checked and I had no patches applied
before running the upgrade, but I will try building from scratch to
see if I still get this.



[ghi...@artin sage-devel]$ ./sage -t -long 
devel/sage/sage/graphs/graph_database.py 
sage -t -long "devel/sage/sage/graphs/graph_database.py"    
**********************************************************************
File "/opt/sage-devel/devel/sage/sage/graphs/graph_database.py", line 759:
    sage: q.show()
Expected:
    Graph6               Num Vertices         Degree Sequence
    ------------------------------------------------------------
    @                    1                    [0]
    A?                   2                    [0, 0]
    A_                   2                    [1, 1]
    B?                   3                    [0, 0, 0]
    BG                   3                    [0, 1, 1]
    BW                   3                    [1, 1, 2]
    Bw                   3                    [2, 2, 2]
    C?                   4                    [0, 0, 0, 0]
    C@                   4                    [0, 0, 1, 1]
    CB                   4                    [0, 1, 1, 2]
    CK                   4                    [1, 1, 1, 1]
    CF                   4                    [1, 1, 1, 3]
    CJ                   4                    [0, 2, 2, 2]
    CL                   4                    [1, 1, 2, 2]
    CN                   4                    [1, 2, 2, 3]
    C]                   4                    [2, 2, 2, 2]
    C^                   4                    [2, 2, 3, 3]
    D??                  5                    [0, 0, 0, 0, 0]
    D?C                  5                    [0, 0, 0, 1, 1]
    D?K                  5                    [0, 0, 1, 1, 2]
    d...@o                  5                    [0, 1, 1, 1, 1]
    D?[                  5                    [0, 1, 1, 1, 3]
    d...@k                  5                    [0, 0, 2, 2, 2]
    D_K                  5                    [1, 1, 1, 1, 2]
    d...@s                  5                    [0, 1, 1, 2, 2]
    D?{                  5                    [1, 1, 1, 1, 4]
    d...@[                  5                    [0, 1, 2, 2, 3]
    d...@s                  5                    [1, 1, 1, 2, 3]
    DBg                  5                    [1, 1, 2, 2, 2]
    DBW                  5                    [0, 2, 2, 2, 2]
    D`K                  5                    [1, 1, 2, 2, 2]
    d...@{                  5                    [1, 1, 2, 2, 4]
    DB[                  5                    [0, 2, 2, 3, 3]
    DIk                  5                    [1, 2, 2, 2, 3]
    DBk                  5                    [1, 1, 2, 3, 3]
    DK[                  5                    [1, 2, 2, 2, 3]
    DLo                  5                    [2, 2, 2, 2, 2]
    E???                 6                    [0, 0, 0, 0, 0, 0]
    E??G                 6                    [0, 0, 0, 0, 1, 1]
    E??W                 6                    [0, 0, 0, 1, 1, 2]
    E?C_                 6                    [0, 0, 1, 1, 1, 1]
    E??w                 6                    [0, 0, 1, 1, 1, 3]
    E?CW                 6                    [0, 0, 0, 2, 2, 2]
    EG?W                 6                    [0, 1, 1, 1, 1, 2]
    E?Cg                 6                    [0, 0, 1, 1, 2, 2]
    e...@q?                 6                    [1, 1, 1, 1, 1, 1]
    e...@w                 6                    [0, 1, 1, 1, 1, 4]
    E?Cw                 6                    [0, 0, 1, 2, 2, 3]
    E?Dg                 6                    [0, 1, 1, 1, 2, 3]
    E_?w                 6                    [1, 1, 1, 1, 1, 3]
    E?LO                 6                    [0, 1, 1, 2, 2, 2]
    E?N?                 6                    [1, 1, 1, 1, 2, 2]
    E?Ko                 6                    [0, 0, 2, 2, 2, 2]
    EGCW                 6                    [0, 1, 1, 2, 2, 2]
    E_Cg                 6                    [1, 1, 1, 1, 2, 2]
    E?Bw                 6                    [1, 1, 1, 1, 1, 5]
    E?Dw                 6                    [0, 1, 1, 2, 2, 4]
    E?Fg                 6                    [1, 1, 1, 1, 2, 4]
    E?Kw                 6                    [0, 0, 2, 2, 3, 3]
    e...@hw                 6                    [0, 1, 2, 2, 2, 3]
    e...@fg                 6                    [1, 1, 1, 2, 2, 3]
    E?LW                 6                    [0, 1, 1, 2, 3, 3]
    E?NG                 6                    [1, 1, 1, 1, 3, 3]
    e...@n?                 6                    [1, 1, 2, 2, 2, 2]
    e...@yo                 6                    [1, 1, 2, 2, 2, 2]
    e...@qw                 6                    [1, 1, 1, 2, 2, 3]
    e...@ow                 6                    [0, 1, 2, 2, 2, 3]
    E_Cw                 6                    [1, 1, 1, 2, 2, 3]
    e...@t_                 6                    [0, 2, 2, 2, 2, 2]
    E_Ko                 6                    [1, 1, 2, 2, 2, 2]
    F????                7                    [0, 0, 0, 0, 0, 0, 0]
    F???G                7                    [0, 0, 0, 0, 0, 1, 1]
    F???W                7                    [0, 0, 0, 0, 1, 1, 2]
    F??G_                7                    [0, 0, 0, 1, 1, 1, 1]
    F???w                7                    [0, 0, 0, 1, 1, 1, 3]
    F??GW                7                    [0, 0, 0, 0, 2, 2, 2]
    f...@??w                7                    [0, 0, 1, 1, 1, 1, 2]
    F??Gg                7                    [0, 0, 0, 1, 1, 2, 2]
    F?Ca?                7                    [0, 1, 1, 1, 1, 1, 1]
    f...@w                7                    [0, 0, 1, 1, 1, 1, 4]
    F??Gw                7                    [0, 0, 0, 1, 2, 2, 3]
    F??Hg                7                    [0, 0, 1, 1, 1, 2, 3]
    FG??w                7                    [0, 1, 1, 1, 1, 1, 3]
    F??XO                7                    [0, 0, 1, 1, 2, 2, 2]
    F??Z?                7                    [0, 1, 1, 1, 1, 2, 2]
    F??Wo                7                    [0, 0, 0, 2, 2, 2, 2]
    f...@?gw                7                    [0, 0, 1, 1, 2, 2, 2]
    FK??W                7                    [1, 1, 1, 1, 1, 1, 2]
    FG?Gg                7                    [0, 1, 1, 1, 1, 2, 2]
    F??Bw                7                    [0, 1, 1, 1, 1, 1, 5]
    F??Hw                7                    [0, 0, 1, 1, 2, 2, 4]
    F??Jg                7                    [0, 1, 1, 1, 1, 2, 4]
    f...@w                7                    [1, 1, 1, 1, 1, 1, 4]
    F??Ww                7                    [0, 0, 0, 2, 2, 3, 3]
    F?CPW                7                    [0, 0, 1, 2, 2, 2, 3]
    F?CJG                7                    [0, 1, 1, 1, 2, 2, 3]
    F??^?                7                    [1, 1, 1, 1, 1, 2, 3]
    F??XW                7                    [0, 0, 1, 1, 2, 3, 3]
    F??ZG                7                    [0, 1, 1, 1, 1, 3, 3]
    F?CZ?                7                    [0, 1, 1, 2, 2, 2, 2]
    F_?Hg                7                    [1, 1, 1, 1, 1, 2, 3]
    F?CqO                7                    [0, 1, 1, 2, 2, 2, 2]
    F?CaW                7                    [0, 1, 1, 1, 2, 2, 3]
    F?LCG                7                    [1, 1, 1, 1, 2, 2, 2]
    F?C_w                7                    [0, 0, 1, 2, 2, 2, 3]
    FG?Gw                7                    [0, 1, 1, 1, 2, 2, 3]
    F?Ch_                7                    [0, 0, 2, 2, 2, 2, 2]
    FG?Wo                7                    [0, 1, 1, 2, 2, 2, 2]
    F_?XO                7                    [1, 1, 1, 1, 2, 2, 2]
    FK?GW                7                    [1, 1, 1, 1, 2, 2, 2]
Got:
    Graph6               Num Vertices         Degree Sequence     
    ------------------------------------------------------------
    @                    1                    [0]                 
    A?                   2                    [0, 0]              
    B?                   3                    [0, 0, 0]           
    C?                   4                    [0, 0, 0, 0]        
    D??                  5                    [0, 0, 0, 0, 0]     
    E???                 6                    [0, 0, 0, 0, 0, 0]  
    F????                7                    [0, 0, 0, 0, 0, 0, 0]
    A_                   2                    [1, 1]              
    BG                   3                    [0, 1, 1]           
    C@                   4                    [0, 0, 1, 1]        
    D?C                  5                    [0, 0, 0, 1, 1]     
    E??G                 6                    [0, 0, 0, 0, 1, 1]  
    F???G                7                    [0, 0, 0, 0, 0, 1, 1]
    BW                   3                    [1, 1, 2]           
    CB                   4                    [0, 1, 1, 2]        
    CK                   4                    [1, 1, 1, 1]        
    D?K                  5                    [0, 0, 1, 1, 2]     
    d...@o                  5                    [0, 1, 1, 1, 1]     
    E??W                 6                    [0, 0, 0, 1, 1, 2]  
    E?C_                 6                    [0, 0, 1, 1, 1, 1]  
    F???W                7                    [0, 0, 0, 0, 1, 1, 2]
    F??G_                7                    [0, 0, 0, 1, 1, 1, 1]
    Bw                   3                    [2, 2, 2]           
    CF                   4                    [1, 1, 1, 3]        
    CJ                   4                    [0, 2, 2, 2]        
    CL                   4                    [1, 1, 2, 2]        
    D?[                  5                    [0, 1, 1, 1, 3]     
    d...@k                  5                    [0, 0, 2, 2, 2]     
    D_K                  5                    [1, 1, 1, 1, 2]     
    d...@s                  5                    [0, 1, 1, 2, 2]     
    E??w                 6                    [0, 0, 1, 1, 1, 3]  
    E?CW                 6                    [0, 0, 0, 2, 2, 2]  
    EG?W                 6                    [0, 1, 1, 1, 1, 2]  
    E?Cg                 6                    [0, 0, 1, 1, 2, 2]  
    e...@q?                 6                    [1, 1, 1, 1, 1, 1]  
    F???w                7                    [0, 0, 0, 1, 1, 1, 3]
    F??GW                7                    [0, 0, 0, 0, 2, 2, 2]
    f...@??w                7                    [0, 0, 1, 1, 1, 1, 2]
    F??Gg                7                    [0, 0, 0, 1, 1, 2, 2]
    F?Ca?                7                    [0, 1, 1, 1, 1, 1, 1]
    CN                   4                    [1, 2, 2, 3]        
    C]                   4                    [2, 2, 2, 2]        
    D?{                  5                    [1, 1, 1, 1, 4]     
    d...@[                  5                    [0, 1, 2, 2, 3]     
    d...@s                  5                    [1, 1, 1, 2, 3]     
    DBg                  5                    [1, 1, 2, 2, 2]     
    DBW                  5                    [0, 2, 2, 2, 2]     
    D`K                  5                    [1, 1, 2, 2, 2]     
    e...@w                 6                    [0, 1, 1, 1, 1, 4]  
    E?Cw                 6                    [0, 0, 1, 2, 2, 3]  
    E?Dg                 6                    [0, 1, 1, 1, 2, 3]  
    E_?w                 6                    [1, 1, 1, 1, 1, 3]  
    E?LO                 6                    [0, 1, 1, 2, 2, 2]  
    E?N?                 6                    [1, 1, 1, 1, 2, 2]  
    E?Ko                 6                    [0, 0, 2, 2, 2, 2]  
    EGCW                 6                    [0, 1, 1, 2, 2, 2]  
    E_Cg                 6                    [1, 1, 1, 1, 2, 2]  
    f...@w                7                    [0, 0, 1, 1, 1, 1, 4]
    F??Gw                7                    [0, 0, 0, 1, 2, 2, 3]
    F??Hg                7                    [0, 0, 1, 1, 1, 2, 3]
    FG??w                7                    [0, 1, 1, 1, 1, 1, 3]
    F??XO                7                    [0, 0, 1, 1, 2, 2, 2]
    F??Z?                7                    [0, 1, 1, 1, 1, 2, 2]
    F??Wo                7                    [0, 0, 0, 2, 2, 2, 2]
    f...@?gw                7                    [0, 0, 1, 1, 2, 2, 2]
    FK??W                7                    [1, 1, 1, 1, 1, 1, 2]
    FG?Gg                7                    [0, 1, 1, 1, 1, 2, 2]
    C^                   4                    [2, 2, 3, 3]        
    d...@{                  5                    [1, 1, 2, 2, 4]     
    DB[                  5                    [0, 2, 2, 3, 3]     
    DIk                  5                    [1, 2, 2, 2, 3]     
    DBk                  5                    [1, 1, 2, 3, 3]     
    DK[                  5                    [1, 2, 2, 2, 3]     
    DLo                  5                    [2, 2, 2, 2, 2]     
    E?Bw                 6                    [1, 1, 1, 1, 1, 5]  
    E?Dw                 6                    [0, 1, 1, 2, 2, 4]  
    E?Fg                 6                    [1, 1, 1, 1, 2, 4]  
    E?Kw                 6                    [0, 0, 2, 2, 3, 3]  
    e...@hw                 6                    [0, 1, 2, 2, 2, 3]  
    e...@fg                 6                    [1, 1, 1, 2, 2, 3]  
    E?LW                 6                    [0, 1, 1, 2, 3, 3]  
    E?NG                 6                    [1, 1, 1, 1, 3, 3]  
    e...@n?                 6                    [1, 1, 2, 2, 2, 2]  
    e...@yo                 6                    [1, 1, 2, 2, 2, 2]  
    e...@qw                 6                    [1, 1, 1, 2, 2, 3]  
    e...@ow                 6                    [0, 1, 2, 2, 2, 3]  
    E_Cw                 6                    [1, 1, 1, 2, 2, 3]  
    e...@t_                 6                    [0, 2, 2, 2, 2, 2]  
    E_Ko                 6                    [1, 1, 2, 2, 2, 2]  
    F??Bw                7                    [0, 1, 1, 1, 1, 1, 5]
    F??Hw                7                    [0, 0, 1, 1, 2, 2, 4]
    F??Jg                7                    [0, 1, 1, 1, 1, 2, 4]
    f...@w                7                    [1, 1, 1, 1, 1, 1, 4]
    F??Ww                7                    [0, 0, 0, 2, 2, 3, 3]
    F?CPW                7                    [0, 0, 1, 2, 2, 2, 3]
    F?CJG                7                    [0, 1, 1, 1, 2, 2, 3]
    F??^?                7                    [1, 1, 1, 1, 1, 2, 3]
    F??XW                7                    [0, 0, 1, 1, 2, 3, 3]
    F??ZG                7                    [0, 1, 1, 1, 1, 3, 3]
    F?CZ?                7                    [0, 1, 1, 2, 2, 2, 2]
    F_?Hg                7                    [1, 1, 1, 1, 1, 2, 3]
    F?CqO                7                    [0, 1, 1, 2, 2, 2, 2]
    F?CaW                7                    [0, 1, 1, 1, 2, 2, 3]
    F?LCG                7                    [1, 1, 1, 1, 2, 2, 2]
    F?C_w                7                    [0, 0, 1, 2, 2, 2, 3]
    FG?Gw                7                    [0, 1, 1, 1, 2, 2, 3]
    F?Ch_                7                    [0, 0, 2, 2, 2, 2, 2]
    FG?Wo                7                    [0, 1, 1, 2, 2, 2, 2]
    F_?XO                7                    [1, 1, 1, 1, 2, 2, 2]
    FK?GW                7                    [1, 1, 1, 1, 2, 2, 2]
**********************************************************************
1 items had failures:
   1 of   5 in __main__.example_15
***Test Failed*** 1 failures.
For whitespace errors, see the file 
/home/ghitza/.sage//tmp/.doctest_graph_database.py
         [1.7 s]
exit code: 1024
 
----------------------------------------------------------------------
The following tests failed:


        sage -t -long "devel/sage/sage/graphs/graph_database.py"
Total time for all tests: 1.7 seconds










-- 
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
-- Australia -- http://www.ms.unimelb.edu.au/~aghitza/

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to