Changes between Initial Version and Version 1 of Ticket #26684, comment 6


Ignore:
Timestamp:
12/03/18 18:57:21 (13 months ago)
Author:
chapoton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26684, comment 6

    initial v1  
    1 I am getting this on 8.5.b6:
    2 {{{
    3 sage -t --long --warn-long 55.0 src/sage/graphs/generators/random.py
    4 **********************************************************************
    5 File "src/sage/graphs/generators/random.py", line 907, in sage.graphs.generators.random.connecting_nodes
    6 Failed example:
    7     S = connecting_nodes(T, 5)
    8 Exception raised:
    9     Traceback (most recent call last):
    10       File "/home/chapoton/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 671, in _run
    11         self.compile_and_execute(example, compiler, test.globs)
    12       File "/home/chapoton/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1086, in compile_and_execute
    13         exec(compiled, globs)
    14       File "<doctest sage.graphs.generators.random.connecting_nodes[2]>", line 1, in <module>
    15         S = connecting_nodes(T, Integer(5))
    16       File "/home/chapoton/sage/local/lib/python2.7/site-packages/sage/graphs/generators/random.py", line 973, in connecting_nodes
    17         S.append(Ti)
    18     UnboundLocalError: local variable 'Ti' referenced before assignment
    19 }}}
     1EDIT: wrong ticket