sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.37k stars 462 forks source link

Solaris 10: interfaces/singular.py doctests failure #671

Closed 85eec1a4-3d04-4b4d-b711-d4db03337c41 closed 16 years ago

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 17 years ago
sage -t  interfaces/singular.py                             **********************************************************************
File "singular.py", line 337:
    sage: singular.eval('2 > 1')
Expected:
    '1'
Got:
    '2'
**********************************************************************
File "singular.py", line 339:
    sage: singular.eval('2 + 2')
Expected:
    '4'
Got:
    '1'
**********************************************************************

Running the same commands directly via Singular:

-bash-3.00$ Singular-3-0-3
                     SINGULAR                             /  Development
 A Computer Algebra System for Polynomial Computations   /   version 3-0-3
                                                       0<
     by: G.-M. Greuel, G. Pfister, H. Schoenemann        \   May 2007
FB Mathematik der Universitaet, D-67653 Kaiserslautern    \
> 2+2
. ;
4
> 1<2;
1
> 2<1;
0

Component: doctest coverage

Keywords: Solaris 10, singular

Issue created by migration from https://trac.sagemath.org/ticket/671

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 17 years ago
comment:2

Another interesting data point:

./sage -t -verbose devel/sage/sage/rings/polynomial/toy_buchberger.py
<SNIP>
Trying:
    Ideal(g1).basis_is_groebner()###line 44:_sage_    >>> Ideal(g1).basis_is_groebner()
Expecting:
    True

Result: hang

And:

./sage -t -verbose devel/sage/sage/rings/polynomial/multi_polynomial_element.py
Trying:
    k.factor()###line 1035:_sage_    >>> k.factor()
Expecting:
    (s^2 + 2/3) * (x + s*y)^2 * (x + (-s)*y)^5 * (x^2 + s*x*y + s^2*y^2)^5

Result: hang

Cheers,

Michael

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 16 years ago
comment:3

This has been fixed by #3405.

Cheers,

Michael