#4589: [with patch; positive review]
sage/rings/polynomial/multi_polynomial_ideal.py doctest failure due to
#4583
------------------------------------+--------------------------
       Reporter:  mabshoff          |        Owner:  mabshoff
           Type:  defect            |       Status:  closed
       Priority:  major             |    Milestone:  sage-3.2.1
      Component:  doctest coverage  |   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:

> With #4583 applied I am seeing the following issue:
> {{{
> mabshoff@sage:/scratch/mabshoff/release-cycle/sage-3.2.1.alpha0$ ./sage
> -t -long devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py
> sage -t -long devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py
> **********************************************************************
> File "/scratch/mabshoff/release-
> cycle/sage-3.2.1.alpha0/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py",
> line 58:
>     sage: S.<a,b> = R.quotient((x^2 + y^2, 17))
> Expected nothing
> Got:
>     End Of File (EOF) in read_nonblocking(). Exception style platform.
>     <pexpect.spawn instance at 0x2b0c44965248>
>     version: 2.0 ($Revision: 1.151 $)
>     command: /usr/local/bin/M2
>     args: ['/usr/local/bin/M2', '--no-debug', '--no-readline', '--
> silent']
>     patterns:
>         i[0-9]* :
>     buffer (last 100 chars):
>     before (last 100 chars): ine 332: /scratch/mabshoff/release-
> cycle/sage-3.2.1.alpha0/local/bin/M2: No such file or directory
>     <BLANKLINE>
>     after: <class 'pexpect.EOF'>
>     match: None
>     match_index: None
>     exitstatus: None
>     flag_eof: 1
>     pid: 19482
>     child_fd: 4
>     timeout: 30
>     delimiter: <class 'pexpect.EOF'>
>     logfile: None
>     maxread: 10000
>     searchwindowsize: None
>     delaybeforesend: 0
>     verbose 0 (1790: multi_polynomial_ideal.py, groebner_basis) Warning:
> falling back to very slow toy implementation.
> **********************************************************************
> File "/scratch/mabshoff/release-
> cycle/sage-3.2.1.alpha0/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py",
> line 144:
>     sage: I.groebner_basis()
> Expected:
>     [x + y + z, y^2 + y + 23234, y*z + y + 26532, 2*y + 158864, z^2 +
> 17223, 2*z + 41856, 164878]
> Got:
>     End Of File (EOF) in read_nonblocking(). Exception style platform.
>     <pexpect.spawn instance at 0x2b0c44b007a0>
>     version: 2.0 ($Revision: 1.151 $)
>     command: /usr/local/bin/M2
>     args: ['/usr/local/bin/M2', '--no-debug', '--no-readline', '--
> silent']
>     patterns:
>         i[0-9]* :
>     buffer (last 100 chars):
>     before (last 100 chars): ine 332: /scratch/mabshoff/release-
> cycle/sage-3.2.1.alpha0/local/bin/M2: No such file or directory
>     <BLANKLINE>
>     after: <class 'pexpect.EOF'>
>     match: None
>     match_index: None
>     exitstatus: None
>     flag_eof: 1
>     pid: 19506
>     child_fd: 4
>     timeout: 30
>     delimiter: <class 'pexpect.EOF'>
>     logfile: None
>     maxread: 10000
>     searchwindowsize: None
>     delaybeforesend: 0
>     verbose 0 (1790: multi_polynomial_ideal.py, groebner_basis) Warning:
> falling back to very slow toy implementation.
>     [x + y + z, y^2 + y + 23234, y*z + y + 26532, 2*y + 158864, z^2 +
> 17223, 2*z + 41856, 164878]
> **********************************************************************
> 1 items had failures:
>    2 of  49 in __main__.example_0
> ***Test Failed*** 2 failures.
> For whitespace errors, see the file /scratch/mabshoff/release-
> cycle/sage-3.2.1.alpha0/tmp/.doctest_multi_polynomial_ideal.py
>          [11.0 s]
> exit code: 1024
> }}}

New description:

 With #4583 applied I am seeing the following issue:
 {{{
 mabshoff@sage:/scratch/mabshoff/release-cycle/sage-3.2.1.alpha0$ ./sage -t
 -long devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py
 sage -t -long devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py
 **********************************************************************
 File "/scratch/mabshoff/release-
 
cycle/sage-3.2.1.alpha0/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py",
 line 58:
     sage: S.<a,b> = R.quotient((x^2 + y^2, 17))
 Expected nothing
 Got:
     End Of File (EOF) in read_nonblocking(). Exception style platform.
     <pexpect.spawn instance at 0x2b0c44965248>
     version: 2.0 ($Revision: 1.151 $)
     command: /usr/local/bin/M2
     args: ['/usr/local/bin/M2', '--no-debug', '--no-readline', '--silent']
     patterns:
         i[0-9]* :
     buffer (last 100 chars):
     before (last 100 chars): ine 332: /scratch/mabshoff/release-
 cycle/sage-3.2.1.alpha0/local/bin/M2: No such file or directory
     <BLANKLINE>
     after: <class 'pexpect.EOF'>
     match: None
     match_index: None
     exitstatus: None
     flag_eof: 1
     pid: 19482
     child_fd: 4
     timeout: 30
     delimiter: <class 'pexpect.EOF'>
     logfile: None
     maxread: 10000
     searchwindowsize: None
     delaybeforesend: 0
     verbose 0 (1790: multi_polynomial_ideal.py, groebner_basis) Warning:
 falling back to very slow toy implementation.
 **********************************************************************
 File "/scratch/mabshoff/release-
 
cycle/sage-3.2.1.alpha0/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py",
 line 144:
     sage: I.groebner_basis()
 Expected:
     [x + y + z, y^2 + y + 23234, y*z + y + 26532, 2*y + 158864, z^2 +
 17223, 2*z + 41856, 164878]
 Got:
     End Of File (EOF) in read_nonblocking(). Exception style platform.
     <pexpect.spawn instance at 0x2b0c44b007a0>
     version: 2.0 ($Revision: 1.151 $)
     command: /usr/local/bin/M2
     args: ['/usr/local/bin/M2', '--no-debug', '--no-readline', '--silent']
     patterns:
         i[0-9]* :
     buffer (last 100 chars):
     before (last 100 chars): ine 332: /scratch/mabshoff/release-
 cycle/sage-3.2.1.alpha0/local/bin/M2: No such file or directory
     <BLANKLINE>
     after: <class 'pexpect.EOF'>
     match: None
     match_index: None
     exitstatus: None
     flag_eof: 1
     pid: 19506
     child_fd: 4
     timeout: 30
     delimiter: <class 'pexpect.EOF'>
     logfile: None
     maxread: 10000
     searchwindowsize: None
     delaybeforesend: 0
     verbose 0 (1790: multi_polynomial_ideal.py, groebner_basis) Warning:
 falling back to very slow toy implementation.
     [x + y + z, y^2 + y + 23234, y*z + y + 26532, 2*y + 158864, z^2 +
 17223, 2*z + 41856, 164878]
 **********************************************************************
 1 items had failures:
    2 of  49 in __main__.example_0
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file /scratch/mabshoff/release-
 cycle/sage-3.2.1.alpha0/tmp/.doctest_multi_polynomial_ideal.py
  [11.0 s]
 exit code: 1024
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/4589#comment:6>
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.

Reply via email to