#12687: Fix Singular doctest error on OpenSolaris
------------------------------+---------------------------------------------
Reporter: jdemeyer | Owner: was
Type: defect | Status: new
Priority: blocker | Milestone: sage-5.0
Component: interfaces | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
------------------------------+---------------------------------------------
Comment (by SimonKing):
Replying to [comment:6 jdemeyer]:
> Well, #10296 has several code paths to raise the exception. In some
cases, the singular error message is added, in other cases not. I don't
think this is a big deal. I would be happy to solve this using "..."
You mean these lines?
{{{
#!diff
sage/interfaces/expect.py
diff --git a/sage/interfaces/expect.py b/sage/interfaces/expect.py
735 elif restart_if_needed==True: # the subprocess
might have crashed
736 try:
737 self._synchronize()
738 return
self._post_process_from_file(self._eval_line_using_file(line,
restart_if_needed=False))
739 except RuntimeError, msg:
740 raise RuntimeError, '%s terminated
unexpectedly while reading in a large line:\n%s'%(self,msg[0])
741 except TypeError:
742 pass
659 743 raise RuntimeError, '%s terminated
unexpectedly while reading in a large line'%self
}}}
That would mean: On some machines Singular raises a `RuntimeError`, while
in the same setting on `OpenSolaris` it is raising a `TypeError`. Odd.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12687#comment:7>
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.