#7939: shorten doctests in sage/rings/multi_polynomial_ideal.py
-------------------------------+--------------------------------------------
Reporter: rlm | Owner: tbd
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.3.2
Component: interfaces | Keywords:
Author: Martin Albrecht | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Changes (by AlexGhitza):
* status: needs_review => needs_work
Comment:
With the latest patch, I'm now seeing
{{{
sage -t -long "libs/singular/__init__.py"
[0.1 s]
sage -t -long "libs/singular/function.pyx"
[2.9 s]
sage -t -long "libs/singular/function_factory.py"
**********************************************************************
File "/opt/sage-4.3.1/devel/sage-
main/sage/libs/singular/function_factory.py", line 51:
sage: "std" in sage.list.singular.ff.trait_names()
Exception raised:
Traceback (most recent call last):
File "/home/ghitza/sage-devel/local/bin/ncadoctest.py", line 1231,
in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/ghitza/sage-devel/local/bin/sagedoctest.py", line 38, in
run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/home/ghitza/sage-devel/local/bin/ncadoctest.py", line 1172,
in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_3[2]>", line 1, in <module>
"std" in sage.list.singular.ff.trait_names()###line 51:
sage: "std" in sage.list.singular.ff.trait_names()
AttributeError: 'module' object has no attribute 'list'
**********************************************************************
1 items had failures:
1 of 3 in __main__.example_3
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/ghitza/.sage//tmp/.doctest_function_factory.py
[1.5 s]
exit code: 1024
sage -t -long "libs/singular/groebner_strategy.pyx"
[1.5 s]
sage -t -long "libs/singular/option.pyx"
**********************************************************************
File "/opt/sage-4.3.1/devel/sage-main/sage/libs/singular/option.pyx", line
340:
sage: libsingular_verb_options
Expected:
verbosity options for libSingular (current value 0x02000082)
Got:
verbosity options for libSingular (current value 0x00002851)
**********************************************************************
1 items had failures:
1 of 5 in __main__.example_11
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/ghitza/.sage//tmp/.doctest_option.py
[2.3 s]
exit code: 1024
sage -t -long "libs/singular/polynomial.pyx"
[1.5 s]
sage -t -long "libs/singular/ring.pyx"
[1.8 s]
sage -t -long "libs/singular/singular-cdefs.pxi"
[1.4 s]
sage -t -long "libs/singular/singular.pxi"
[0.1 s]
sage -t -long "libs/singular/singular.pyx"
[1.6 s]
----------------------------------------------------------------------
The following tests failed:
sage -t -long "libs/singular/function_factory.py"
sage -t -long "libs/singular/option.pyx"
Total time for all tests: 14.4 seconds
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7939#comment:27>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.