Changes between Initial Version and Version 1 of Ticket #12950, comment 22


Ignore:
Timestamp:
05/27/12 16:27:15 (7 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12950, comment 22

    initial v1  
    1 Could this have caused
    2 {{{
    3 sage -t  -force_lib devel/sage/sage/rings/polynomial/polynomial_rational_flint.pyx
    4 **********************************************************************
    5 File "/padic/scratch/jdemeyer/merger/sage-5.1.beta2/devel/sage-main/sage/rings/polynomial/polynomial_rational_flint.pyx", line 596:
    6     sage: f.reverse(I)
    7 Expected:
    8     Traceback (most recent call last):
    9     ...
    10     TypeError: can't convert complex to int; use int(abs(z))
    11 Got:
    12     Traceback (most recent call last):
    13       File "/padic/scratch/jdemeyer/merger/sage-5.1.beta2/local/bin/ncadoctest.py", line 1231, in run_one_test
    14         self.run_one_example(test, example, filename, compileflags)
    15       File "/padic/scratch/jdemeyer/merger/sage-5.1.beta2/local/bin/sagedoctest.py", line 38, in run_one_example
    16         OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
    17       File "/padic/scratch/jdemeyer/merger/sage-5.1.beta2/local/bin/ncadoctest.py", line 1172, in run_one_example
    18         compileflags, 1) in test.globs
    19       File "<doctest __main__.example_17[19]>", line 1, in <module>
    20         f.reverse(I)###line 596:
    21     sage: f.reverse(I)
    22       File "polynomial_rational_flint.pyx", line 608, in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.reverse
    23  (sage/rings/polynomial/polynomial_rational_flint.cpp:7922)
    24         len = <unsigned long> n
    25       File "expression.pyx", line 775, in sage.symbolic.expression.Expression.__int__ (sage/symbolic/expression.cpp:5027)
    26     ValueError: cannot convert I to int
    27 **********************************************************************
    28 }}}