Extend the method get_knotinfo of the Link class to cover non-prime knots #15280
Annotations
10 errors
Test changed files (sage -t --new):
src/sage/knots/free_knotinfo_monoid.py#L44
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.knots.free_knotinfo_monoid.FreeKnotInfoMonoidElement.as_knot[1]>", line 1, in <module>
FKIM = FreeKnotInfoMonoid()
File "sage/misc/classcall_metaclass.pyx", line 321, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
return cls.classcall(cls, *args, **kwds)
File "/sage/src/sage/knots/free_knotinfo_monoid.py", line 109, in __classcall_private__
return super().__classcall__(cls, max_crossing_number, prefix=prefix, **kwds)
File "/sage/src/sage/monoids/indexed_free_monoid.py", line 722, in __classcall__
return super().__classcall__(cls, indices, prefix,
File "sage/misc/fast_methods.pyx", line 276, in sage.misc.fast_methods.Singleton.__classcall__
@staticmethod
TypeError: __classcall__() takes exactly 1 positional argument (3 given)
|
Test changed files (sage -t --new):
src/sage/knots/free_knotinfo_monoid.py#L45
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.knots.free_knotinfo_monoid.FreeKnotInfoMonoidElement.as_knot[2]>", line 1, in <module>
FKIM.inject_variables(select=Integer(3))
NameError: name 'FKIM' is not defined
|
Test changed files (sage -t --new):
src/sage/knots/free_knotinfo_monoid.py#L48
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.knots.free_knotinfo_monoid.FreeKnotInfoMonoidElement.as_knot[3]>", line 1, in <module>
K = K3_1**Integer(2) * K3_1m
NameError: name 'K3_1' is not defined
|
Test changed files (sage -t --new):
src/sage/knots/free_knotinfo_monoid.py#L49
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.knots.free_knotinfo_monoid.FreeKnotInfoMonoidElement.as_knot[4]>", line 1, in <module>
K.as_knot()
NameError: name 'K' is not defined
|
Test changed files (sage -t --new):
src/sage/knots/free_knotinfo_monoid.py#L77
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.knots.free_knotinfo_monoid.FreeKnotInfoMonoidElement.to_knotinfo[1]>", line 1, in <module>
FKIM = FreeKnotInfoMonoid()
File "sage/misc/classcall_metaclass.pyx", line 321, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
return cls.classcall(cls, *args, **kwds)
File "/sage/src/sage/knots/free_knotinfo_monoid.py", line 109, in __classcall_private__
return super().__classcall__(cls, max_crossing_number, prefix=prefix, **kwds)
File "/sage/src/sage/monoids/indexed_free_monoid.py", line 722, in __classcall__
return super().__classcall__(cls, indices, prefix,
File "sage/misc/fast_methods.pyx", line 276, in sage.misc.fast_methods.Singleton.__classcall__
@staticmethod
TypeError: __classcall__() takes exactly 1 positional argument (3 given)
|
Test changed files (sage -t --new):
src/sage/knots/free_knotinfo_monoid.py#L78
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.knots.free_knotinfo_monoid.FreeKnotInfoMonoidElement.to_knotinfo[2]>", line 1, in <module>
FKIM.inject_variables(select=Integer(3))
NameError: name 'FKIM' is not defined
|
Test changed files (sage -t --new):
src/sage/knots/free_knotinfo_monoid.py#L81
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.knots.free_knotinfo_monoid.FreeKnotInfoMonoidElement.to_knotinfo[3]>", line 1, in <module>
K = K3_1**Integer(2) * K3_1m
NameError: name 'K3_1' is not defined
|
Test changed files (sage -t --new):
src/sage/knots/free_knotinfo_monoid.py#L82
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.knots.free_knotinfo_monoid.FreeKnotInfoMonoidElement.to_knotinfo[4]>", line 1, in <module>
K.to_knotinfo()
NameError: name 'K' is not defined
|
Test changed files (sage -t --new):
src/sage/knots/free_knotinfo_monoid.py#L104
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.knots.free_knotinfo_monoid.FreeKnotInfoMonoid.__classcall_private__[1]>", line 1, in <module>
FreeKnotInfoMonoid()
File "sage/misc/classcall_metaclass.pyx", line 321, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
return cls.classcall(cls, *args, **kwds)
File "/sage/src/sage/knots/free_knotinfo_monoid.py", line 109, in __classcall_private__
return super().__classcall__(cls, max_crossing_number, prefix=prefix, **kwds)
File "/sage/src/sage/monoids/indexed_free_monoid.py", line 722, in __classcall__
return super().__classcall__(cls, indices, prefix,
File "sage/misc/fast_methods.pyx", line 276, in sage.misc.fast_methods.Singleton.__classcall__
@staticmethod
TypeError: __classcall__() takes exactly 1 positional argument (3 given)
|
Test changed files (sage -t --new):
src/sage/knots/free_knotinfo_monoid.py#L106
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.knots.free_knotinfo_monoid.FreeKnotInfoMonoid.__classcall_private__[2]>", line 1, in <module>
FreeKnotInfoMonoid(Integer(5))
File "sage/misc/classcall_metaclass.pyx", line 321, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
return cls.classcall(cls, *args, **kwds)
File "/sage/src/sage/knots/free_knotinfo_monoid.py", line 109, in __classcall_private__
return super().__classcall__(cls, max_crossing_number, prefix=prefix, **kwds)
File "/sage/src/sage/monoids/indexed_free_monoid.py", line 722, in __classcall__
return super().__classcall__(cls, indices, prefix,
File "sage/misc/fast_methods.pyx", line 276, in sage.misc.fast_methods.Singleton.__classcall__
@staticmethod
TypeError: __classcall__() takes exactly 1 positional argument (3 given)
|
Loading