#6025: [with patch, positive review] Sage 3.4.2: doctest failure in
sage/libs/pari/gen.pyx on 64 bit OSX
----------------------------+------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: closed
Priority: blocker | Milestone: sage-4.0
Component: porting | Resolution: fixed
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------+------------------------
Changes (by chapoton):
* upstream: => N/A
Old description:
> {{{
> sage -t -long "devel/sage/sage/libs/pari/gen.pyx"
> **********************************************************************
> File "/Users/mabshoff/sage-3.4.2-64/devel/sage/sage/libs/pari/gen.pyx",
> line 8945:
> sage: pari.finitefield_init(7,2)
> Exception raised:
> Traceback (most recent call last):
> File "/Users/mabshoff/sage-3.4.2-64/local/bin/ncadoctest.py", line
> 1231, in run_one_test
> self.run_one_example(test, example, filename, compileflags)
> File "/Users/mabshoff/sage-3.4.2-64/local/bin/sagedoctest.py", line
> 38, in run_one_example
> OrigDocTestRunner.run_one_example(self, test, example, filename,
> compileflags)
> File "/Users/mabshoff/sage-3.4.2-64/local/bin/ncadoctest.py", line
> 1172, in run_one_example
> compileflags, 1) in test.globs
> File "<doctest __main__.example_291[4]>", line 1, in <module>
> pari.finitefield_init(Integer(7),Integer(2))###line 8945:
> sage: pari.finitefield_init(7,2)
> RuntimeError
> **********************************************************************
> File "/Users/mabshoff/sage-3.4.2-64/devel/sage/sage/libs/pari/gen.pyx",
> line 8950:
> sage: pari.finitefield_init(2,3)
> Exception raised:
> Traceback (most recent call last):
> File "/Users/mabshoff/sage-3.4.2-64/local/bin/ncadoctest.py", line
> 1231, in run_one_test
> self.run_one_example(test, example, filename, compileflags)
> File "/Users/mabshoff/sage-3.4.2-64/local/bin/sagedoctest.py", line
> 38, in run_one_example
> OrigDocTestRunner.run_one_example(self, test, example, filename,
> compileflags)
> File "/Users/mabshoff/sage-3.4.2-64/local/bin/ncadoctest.py", line
> 1172, in run_one_example
> compileflags, 1) in test.globs
> File "<doctest __main__.example_291[5]>", line 1, in <module>
> pari.finitefield_init(Integer(2),Integer(3))###line 8950:
> sage: pari.finitefield_init(2,3)
> RuntimeError
> **********************************************************************
> 1 items had failures:
> 2 of 6 in __main__.example_291
> ***Test Failed*** 2 failures.
> For whitespace errors, see the file
> /Users/mabshoff/sage-3.4.2-64/tmp/.doctest_gen.py
> [19.0 s]
> }}}
New description:
{{{
sage -t -long "devel/sage/sage/libs/pari/gen.pyx"
**********************************************************************
File "/Users/mabshoff/sage-3.4.2-64/devel/sage/sage/libs/pari/gen.pyx",
line 8945:
sage: pari.finitefield_init(7,2)
Exception raised:
Traceback (most recent call last):
File "/Users/mabshoff/sage-3.4.2-64/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/Users/mabshoff/sage-3.4.2-64/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/Users/mabshoff/sage-3.4.2-64/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_291[4]>", line 1, in <module>
pari.finitefield_init(Integer(7),Integer(2))###line 8945:
sage: pari.finitefield_init(7,2)
RuntimeError
**********************************************************************
File "/Users/mabshoff/sage-3.4.2-64/devel/sage/sage/libs/pari/gen.pyx",
line 8950:
sage: pari.finitefield_init(2,3)
Exception raised:
Traceback (most recent call last):
File "/Users/mabshoff/sage-3.4.2-64/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/Users/mabshoff/sage-3.4.2-64/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/Users/mabshoff/sage-3.4.2-64/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_291[5]>", line 1, in <module>
pari.finitefield_init(Integer(2),Integer(3))###line 8950:
sage: pari.finitefield_init(2,3)
RuntimeError
**********************************************************************
1 items had failures:
2 of 6 in __main__.example_291
***Test Failed*** 2 failures.
For whitespace errors, see the file
/Users/mabshoff/sage-3.4.2-64/tmp/.doctest_gen.py
[19.0 s]
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/6025#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.