There is a problem with my patch (#11812). Can anyone help me?

I wanted to have a doctest in there that really tests whether the
traceback contains certain substrings. Python doctesting ignores the
content of a traceback. So to test the content of the traceback, I
tried starting a nested Sage session. "Sage" or "sage0" doesn't just
print the errors, but really throws them forward into the main Sage
session, so they don't help. With "import pexpect;
pexpect.spawn(full_path_to_sage_executable)", I get an error message.
The only thing that seemed to do exactly what I wanted was "import
pexpect; pexpect.spawn('sage')", but it doesn't, as the patchbot shows
at #11812.

For an example of what I was trying, see the patch at that ticket.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to