let the category of sets handle the __len__ method of rings #15447
Annotations
9 errors
Test all files (sage -t --long src/doc src/sage_docbuild src/sage_setup):
src/doc/en/constructions/calculus.rst#L177
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 doc.en.constructions.calculus[2]>", line 1, in <module>
g = f.convolution(f)
File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f
return f(ex, *new_args, **kwds)
File "/sage/src/sage/functions/piecewise.py", line 1024, in convolution
return (piecewise([[(minus_infinity,infinity),0]]).piecewise_add(h)).unextend_zero()
File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f
return f(ex, *new_args, **kwds)
File "/sage/src/sage/functions/piecewise.py", line 717, in piecewise_add
domain += rs
File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__
raise ValueError('infinite set')
ValueError: infinite set
|
Test all files (sage -t --long src/doc src/sage_docbuild src/sage_setup):
src/doc/en/constructions/calculus.rst#L178
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 doc.en.constructions.calculus[3]>", line 1, in <module>
h = f.convolution(g)
NameError: name 'g' is not defined
|
Test all files (sage -t --long src/doc src/sage_docbuild src/sage_setup):
src/doc/en/constructions/calculus.rst#L180
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 doc.en.constructions.calculus[5]>", line 1, in <module>
P = f.plot(); Q = g.plot(rgbcolor=(Integer(1),Integer(1),Integer(0))); R = h.plot(rgbcolor=(Integer(0),Integer(1),Integer(1)))
NameError: name 'g' is not defined
|
Test all files (sage -t --long src/doc src/sage_docbuild src/sage_setup):
src/doc/en/constructions/calculus.rst#L384
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 doc.en.constructions.calculus[1]>", line 1, in <module>
f.fourier_series_cosine_coefficient(Integer(0))
File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f
return f(ex, *new_args, **kwds)
File "/sage/src/sage/functions/piecewise.py", line 1218, in fourier_series_cosine_coefficient
L0 = (self.domain().sup() - self.domain().inf()) / 2
File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f
return f(ex, *new_args, **kwds)
File "/sage/src/sage/functions/piecewise.py", line 408, in domain
intervals += list(domain)
File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__
raise ValueError('infinite set')
ValueError: infinite set
|
Test all files (sage -t --long src/doc src/sage_docbuild src/sage_setup):
src/doc/en/constructions/calculus.rst#L386
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 doc.en.constructions.calculus[2]>", line 1, in <module>
f.fourier_series_sine_coefficient(Integer(5))
File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f
return f(ex, *new_args, **kwds)
File "/sage/src/sage/functions/piecewise.py", line 1306, in fourier_series_sine_coefficient
L0 = (self.domain().sup() - self.domain().inf()) / 2
File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f
return f(ex, *new_args, **kwds)
File "/sage/src/sage/functions/piecewise.py", line 408, in domain
intervals += list(domain)
File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__
raise ValueError('infinite set')
ValueError: infinite set
|
Test all files (sage -t --long src/doc src/sage_docbuild src/sage_setup):
src/doc/en/constructions/calculus.rst#L388
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 doc.en.constructions.calculus[3]>", line 1, in <module>
s5 = f.fourier_series_partial_sum(Integer(5)); s5
File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f
return f(ex, *new_args, **kwds)
File "/sage/src/sage/functions/piecewise.py", line 1397, in fourier_series_partial_sum
L = (self.domain().sup() - self.domain().inf()) / 2
File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f
return f(ex, *new_args, **kwds)
File "/sage/src/sage/functions/piecewise.py", line 408, in domain
intervals += list(domain)
File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__
raise ValueError('infinite set')
ValueError: infinite set
|
Test all files (sage -t --long src/doc src/sage_docbuild src/sage_setup):
src/doc/en/constructions/calculus.rst#L390
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 doc.en.constructions.calculus[4]>", line 1, in <module>
plot(f, (Integer(0),pi)) + plot(s5, (x,Integer(0),pi), color='red')
NameError: name 's5' is not defined
|
Test all files (sage -t --long src/doc src/sage_docbuild src/sage_setup):
src/doc/en/thematic_tutorials/coercion_and_categories.rst#L106
Failed example:: Got: ['_CommutativeRing__fraction_field',
'__iter__',
'__rxor__',
'__xor__',
'_an_element_impl',
'_coerce_',
'_coerce_c',
'_coerce_impl',
'_default_category',
'_gens',
'_latex_names',
'_list',
'_one_element',
'_pseudo_fraction_field',
'_zero_element',
'algebraic_closure',
'base_extend',
'divides',
'epsilon',
'extension',
'fraction_field',
'gen',
'gens',
'ideal',
'integral_closure',
'is_commutative',
'is_field',
'is_integrally_closed',
'is_prime_field',
'is_subring',
'krull_dimension',
'localization',
'ngens',
'one',
'order',
'prime_subfield',
'random_element',
'zero',
'zeta',
'zeta_order']
|
Test all files (sage -t --long src/doc src/sage_docbuild src/sage_setup)
Process completed with exit code 1.
|
Loading