Hi Michael,
thank you, but I am afraid it did not work.
Now, my doc test is
sage: singular('%sI'%(H.prefix))
Traceback (most recent call last):
...
TypeError: Singular error:
? ... is undefined
? error occurred in STDIN line ...: `def ...;`
and here is what the doc test complains:
*****************************
File "/home/king/Projekte/Cohom/CAS/fullBens/src/cohomology.pyx", line
840:
sage: singular('%sI'%(H.prefix))
Exception raised:
Traceback (most recent call last):
File "/home/king/SAGE/devel/sage-3.1.4/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/king/SAGE/devel/sage-3.1.4/local/bin/
sagedoctest.py", line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
File "/home/king/SAGE/devel/sage-3.1.4/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_9[51]>", line 1, in <module>
singular('%sI'%(H.prefix))###line 840:
sage: singular('%sI'%(H.prefix))
File "/home/king/SAGE/devel/sage-3.1.4/local/lib/python2.5/site-
packages/sage/interfaces/singular.py", li
ne 593, in __call__
return SingularElement(self, type, x, False)
File "/home/king/SAGE/devel/sage-3.1.4/local/lib/python2.5/site-
packages/sage/interfaces/singular.py", li
ne 1009, in __init__
raise TypeError, x
TypeError: Singular error:
? `COHO3I` is undefined
? error occurred in STDIN line 66438: `def sage9606=COHO3I;`
**********************************************************************
So, apparently it even does not state that it expected a traceback.
Best regards,
Simon
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---