The last one is transient. as for the other two :
charpent@zen-book-flip:/usr/local/sage-P3$ sage -t --long --warn-long 151.2 src/sage/coding/linear_code.py
Running doctests with ID 2019-07-04-20-17-47-c7243cba.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,memlimit,mpir,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 151.2 src/sage/coding/linear_code.py
**********************************************************************
File "src/sage/coding/linear_code.py", line 3303, in sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
C.weight_distribution(algorithm="leon") # optional - gap_packages (Guava package)
Exception raised:
Traceback (most recent call last):
File "sage/misc/cachefunc.pyx", line 1944, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10139)
return cache[k]
KeyError: (('leon',), ())
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.coding.linear_code.AbstractLinearCode.weight_distribution[8]>", line 1, in <module>
C.weight_distribution(algorithm="leon") # optional - gap_packages (Guava package)
File "sage/misc/cachefunc.pyx", line 1949, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10273)
w = self._instance_call(*args, **kwds)
File "sage/misc/cachefunc.pyx", line 1825, in sage.misc.cachefunc.CachedMethodCaller._instance_call (build/cythonized/sage/misc/cachefunc.c:9758)
return self.f(self._instance, *args, **kwds)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/coding/linear_code.py", line 3358, in weight_distribution
for L in StringIO(lines).readlines():
TypeError: initial_value must be str or None, not bytes
**********************************************************************
File "src/sage/coding/linear_code.py", line 3311, in sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
C.weight_distribution() == C.weight_distribution(algorithm="leon") # optional - gap_packages (Guava package)
Exception raised:
Traceback (most recent call last):
File "sage/misc/cachefunc.pyx", line 1944, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10139)
return cache[k]
KeyError: (('leon',), ())
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.coding.linear_code.AbstractLinearCode.weight_distribution[12]>", line 1, in <module>
C.weight_distribution() == C.weight_distribution(algorithm="leon") # optional - gap_packages (Guava package)
File "sage/misc/cachefunc.pyx", line 1949, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10273)
w = self._instance_call(*args, **kwds)
File "sage/misc/cachefunc.pyx", line 1825, in sage.misc.cachefunc.CachedMethodCaller._instance_call (build/cythonized/sage/misc/cachefunc.c:9758)
return self.f(self._instance, *args, **kwds)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/coding/linear_code.py", line 3358, in weight_distribution
for L in StringIO(lines).readlines():
TypeError: initial_value must be str or None, not bytes
**********************************************************************
File "src/sage/coding/linear_code.py", line 3315, in sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
C.weight_distribution() == C.weight_distribution(algorithm="leon") # optional - gap_packages (Guava package)
Exception raised:
Traceback (most recent call last):
File "sage/misc/cachefunc.pyx", line 1944, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10139)
return cache[k]
KeyError: (('leon',), ())
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.coding.linear_code.AbstractLinearCode.weight_distribution[14]>", line 1, in <module>
C.weight_distribution() == C.weight_distribution(algorithm="leon") # optional - gap_packages (Guava package)
File "sage/misc/cachefunc.pyx", line 1949, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10273)
w = self._instance_call(*args, **kwds)
File "sage/misc/cachefunc.pyx", line 1825, in sage.misc.cachefunc.CachedMethodCaller._instance_call (build/cythonized/sage/misc/cachefunc.c:9758)
return self.f(self._instance, *args, **kwds)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/coding/linear_code.py", line 3358, in weight_distribution
for L in StringIO(lines).readlines():
TypeError: initial_value must be str or None, not bytes
**********************************************************************
File "src/sage/coding/linear_code.py", line 3319, in sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
C.weight_distribution() == C.weight_distribution(algorithm="leon") # optional - gap_packages (Guava package)
Exception raised:
Traceback (most recent call last):
File "sage/misc/cachefunc.pyx", line 1944, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10139)
return cache[k]
KeyError: (('leon',), ())
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.coding.linear_code.AbstractLinearCode.weight_distribution[16]>", line 1, in <module>
C.weight_distribution() == C.weight_distribution(algorithm="leon") # optional - gap_packages (Guava package)
File "sage/misc/cachefunc.pyx", line 1949, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10273)
w = self._instance_call(*args, **kwds)
File "sage/misc/cachefunc.pyx", line 1825, in sage.misc.cachefunc.CachedMethodCaller._instance_call (build/cythonized/sage/misc/cachefunc.c:9758)
return self.f(self._instance, *args, **kwds)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/coding/linear_code.py", line 3358, in weight_distribution
for L in StringIO(lines).readlines():
TypeError: initial_value must be str or None, not bytes
**********************************************************************
1 item had failures:
4 of 18 in sage.coding.linear_code.AbstractLinearCode.weight_distribution
[763 tests, 4 failures, 24.31 s]
----------------------------------------------------------------------
sage -t --long --warn-long 151.2 src/sage/coding/linear_code.py # 4 doctests failed
----------------------------------------------------------------------
Total time for all tests: 24.5 seconds
cpu time: 19.1 seconds
cumulative wall time: 24.3 seconds
charpent@zen-book-flip:/usr/local/sage-P3$ sage -t --long --warn-long 151.2 src/sage/algebras/quantum_groups/quantum_group_gap.py
Running doctests with ID 2019-07-04-20-18-32-032984ad.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,memlimit,mpir,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 151.2 src/sage/algebras/quantum_groups/quantum_group_gap.py
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 1553, in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule._latex_
Failed example:
latex(S) # optional - gap_packages # random (depends on dot2tex)
Exception raised:
Traceback (most recent call last):
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule._latex_[4]>", line 1, in <module>
latex(S) # optional - gap_packages # random (depends on dot2tex)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/misc/latex.py", line 925, in __call__
return LatexExpr(x._latex_())
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 1559, in _latex_
return latex(self.crystal_graph())
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 2097, in crystal_graph
vertices = [CrystalGraphVertex(self, d[repr(p)[1:-1]]) for p in G[bytes('points')]]
TypeError: string argument without an encoding
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 1658, in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule.crystal_graph
Failed example:
G = V.crystal_graph(); G # optional - gap_packages
Exception raised:
Traceback (most recent call last):
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule.crystal_graph[2]>", line 1, in <module>
G = V.crystal_graph(); G # optional - gap_packages
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 1666, in crystal_graph
vertices = [CrystalGraphVertex(self, repr(p)) for p in G[bytes('points')]]
TypeError: string argument without an encoding
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 1662, in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule.crystal_graph
Failed example:
G.is_isomorphic(B.digraph(), edge_labels=True) # optional - gap_packages
Exception raised:
Traceback (most recent call last):
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule.crystal_graph[4]>", line 1, in <module>
G.is_isomorphic(B.digraph(), edge_labels=True) # optional - gap_packages
NameError: name 'G' is not defined
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 2082, in sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph
Failed example:
G = S.crystal_graph() # optional - gap_packages
Exception raised:
Traceback (most recent call last):
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph[4]>", line 1, in <module>
G = S.crystal_graph() # optional - gap_packages
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 2097, in crystal_graph
vertices = [CrystalGraphVertex(self, d[repr(p)[1:-1]]) for p in G[bytes('points')]]
TypeError: string argument without an encoding
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 2083, in sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph
Failed example:
sorted(G.vertices(), key=str) # optional - gap_packages
Exception raised:
Traceback (most recent call last):
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph[5]>", line 1, in <module>
sorted(G.vertices(), key=str) # optional - gap_packages
NameError: name 'G' is not defined
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 2087, in sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph
Failed example:
sorted(S.crystal_graph(False).vertices(), key=str) # optional - gap_packages
Exception raised:
Traceback (most recent call last):
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph[6]>", line 1, in <module>
sorted(S.crystal_graph(False).vertices(), key=str) # optional - gap_packages
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 2092, in crystal_graph
return QuantumGroupModule.crystal_graph(self)
File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 1666, in crystal_graph
vertices = [CrystalGraphVertex(self, repr(p)) for p in G[bytes('points')]]
TypeError: string argument without an encoding
**********************************************************************
3 items had failures:
3 of 8 in sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph
1 of 6 in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule._latex_
2 of 6 in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule.crystal_graph
[529 tests, 6 failures, 9.65 s]
----------------------------------------------------------------------
sage -t --long --warn-long 151.2 src/sage/algebras/quantum_groups/quantum_group_gap.py # 6 doctests failed
----------------------------------------------------------------------
Total time for all tests: 9.8 seconds
cpu time: 9.4 seconds
cumulative wall time: 9.6 seconds