You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "src/sage/graphs/generators/random.py", line 907, in sage.graphs.generators.random.connecting_nodes
Failed example:
S = connecting_nodes(T, 5)
Exception raised:
Traceback (most recent call last):
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 671, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1086, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.graphs.generators.random.connecting_nodes[2]>", line 1, in <module>
S = connecting_nodes(T, Integer(5))
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-packages/sage/graphs/generators/random.py", line 973, in connecting_nodes
S.append(Ti)
UnboundLocalError: local variable 'Ti' referenced before assignment
**********************************************************************
File "src/sage/graphs/generators/random.py", line 908, in sage.graphs.generators.random.connecting_nodes
Failed example:
len(S)
Exception raised:
Traceback (most recent call last):
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 671, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/buildbot/slave/sage_git/build/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1086, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.graphs.generators.random.connecting_nodes[3]>", line 1, in <module>
len(S)
NameError: name 'S' is not defined
**********************************************************************
1 item had failures:
2 of 5 in sage.graphs.generators.random.connecting_nodes
[165 tests, 2 failures, 4.48 s]
----------------------------------------------------------------------
sage -t --long src/sage/graphs/generators/random.py # 2 doctests failed
----------------------------------------------------------------------
This was introduced in #26730
CC: @tscrim @dcoudert
Component: graph theory
Keywords: random_fail
Issue created by migration from https://trac.sagemath.org/ticket/26841
The text was updated successfully, but these errors were encountered: