#13784: Move methods from GenericGraph to Graph
--------------------------------+-------------------------------------------
       Reporter:  ncohen        |         Owner:  jason, ncohen, rlm
           Type:  defect        |        Status:  needs_work        
       Priority:  major         |     Milestone:  sage-5.6          
      Component:  graph theory  |    Resolution:                    
       Keywords:                |   Work issues:                    
Report Upstream:  N/A           |     Reviewers:  David Coudert     
        Authors:                |     Merged in:                    
   Dependencies:                |      Stopgaps:                    
--------------------------------+-------------------------------------------
Changes (by dcoudert):

  * status:  needs_review => needs_work
  * reviewer:  => David Coudert


Comment:

 Some updates are needed.
 {{{
 sage -t  "devel/sage-myclone/sage/graphs/graph.py"
 IBM ILOG License Manager: "IBM ILOG Optimization Suite for Academic
 Initiative" is accessing CPLEX 12 with option(s): "e m b q ".
 **********************************************************************
 File "/path-to-sage/sage-5.5.rc0/devel/sage-myclone/sage/graphs/graph.py",
 line 4904:
     sage: cores=b.cores(with_labels=True); cores
 Exception raised:
     Traceback (most recent call last):
       File "/path-to-sage/sage-5.5.rc0/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/path-to-sage/sage-5.5.rc0/local/bin/sagedoctest.py", line 38,
 in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/path-to-sage/sage-5.5.rc0/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_46[7]>", line 1, in <module>
         cores=b.cores(with_labels=True); cores###line 4904:
     sage: cores=b.cores(with_labels=True); cores
     AttributeError: 'DiGraph' object has no attribute 'cores'
 **********************************************************************
 File "/path-to-sage/sage-5.5.rc0/devel/sage-myclone/sage/graphs/graph.py",
 line 4906:
     sage: [v for v,c in cores.items() if c>=2] # the vertices in the
 2-core
 Exception raised:
     Traceback (most recent call last):
       File "/path-to-sage/sage-5.5.rc0/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/path-to-sage/sage-5.5.rc0/local/bin/sagedoctest.py", line 38,
 in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/path-to-sage/sage-5.5.rc0/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_46[8]>", line 1, in <module>
         [v for v,c in cores.items() if c>=Integer(2)] # the vertices in
 the 2-core###line 4906:
     sage: [v for v,c in cores.items() if c>=2] # the vertices in the
 2-core
     NameError: name 'cores' is not defined
 **********************************************************************
 1 items had failures:
    2 of  13 in __main__.example_46
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /home/dcoudert/.sage//tmp/graph_29310.py
          [17.6 s]

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


         sage -t  "devel/sage-myclone/sage/graphs/graph.py"
 Total time for all tests: 17.6 seconds
 }}}

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