Ticket #11288 (new defect)

Opened 2 years ago

Maple optional tests

Reported by: SimonKing Owned by: mvngu
Priority: major Milestone: sage-5.10
Component: doctest coverage Keywords: maple optional tests
Cc: Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

I was running the doc tests of sage.interfaces.maple on bsd.math, using sage-4.7. Result:

sage -t -long --optional sage/interfaces/maple.py
Detected SAGE64 flag
Building Sage on OS X in 64-bit mode
sage -t -long --optional "devel/sage-main/sage/interfaces/maple.py"
**********************************************************************
File "/Users/SimonKing/SAGE/sage-4.7/devel/sage-main/sage/interfaces/maple.py", line 29:
    sage: maple.eval('ifactor(2005)')                    # optional - maple
Expected:
    '"(5)*"(401)'
Got:
    '``(5)*``(401)'
**********************************************************************
File "/Users/SimonKing/SAGE/sage-4.7/devel/sage-main/sage/interfaces/maple.py", line 31:
    sage: maple.ifactor(2005)                            # optional - maple
Expected:
    "(5)*"(401)
Got:
    ``(5)*``(401)
**********************************************************************
File "/Users/SimonKing/SAGE/sage-4.7/devel/sage-main/sage/interfaces/maple.py", line 188:
    sage: maple.ifactor(maple.fibonacci(27))     # optional - maple
Expected:
    "(2)*"(17)*"(53)*"(109)
Got:
    ``(2)*``(17)*``(53)*``(109)
**********************************************************************
File "/Users/SimonKing/SAGE/sage-4.7/devel/sage-main/sage/interfaces/maple.py", line 1068:
    sage: print latex(maple(pi - e^3))                   # optional -- requires maple
Expected:
    \pi - \left( {e^{1}} \right) ^{3}
Got:
    \pi-{{\rm e}^{3}}
**********************************************************************
2 items had failures:
   3 of  29 in __main__.example_0
   1 of   5 in __main__.example_40
***Test Failed*** 4 failures.
For whitespace errors, see the file /Users/SimonKing/.sage//tmp/.doctest_maple.py
         [11.2 s]
 
----------------------------------------------------------------------
The following tests failed:


        sage -t -long --optional "devel/sage-main/sage/interfaces/maple.py"
Total time for all tests: 11.2 seconds

I have no idea whether the errors are the same on other machines.

Note: See TracTickets for help on using tickets.