Hi,

I am debugging a patch of my own. Perhaps due to the patch, I get the
following strange doctest failure.

sage -t  "4.4.2/devel/sage-main/sage/modules/free_module.py"
**********************************************************************
File "/Users/Kwankyu/Sage/sage-4.4.2/devel/sage-main/sage/modules/
free_module.py", line 1125:
    sage: V.base_extend(QQ)
Expected:
    Vector space of dimension 7 over Rational Field
Got:
    V
**********************************************************************
1 items had failures:
   1 of   4 in __main__.example_23
***Test Failed*** 1 failures.
For whitespace errors, see the file /Users/Kwankyu/.sage//
tmp/.doctest_free_module.py
         [16.8 s]

----------------------------------------------------------------------
The following tests failed:


        sage -t  "4.4.2/devel/sage-main/sage/modules/free_module.py"
Total time for all tests: 16.8 seconds

However, if I type in the exactly same doctest found in lines
1124-1125 of "free_module.py", then I get the correct result instead
of just "V", as you see below.

athena:sage-main Kwankyu$ sage
----------------------------------------------------------------------
| Sage Version 4.4.2, Release Date: 2010-05-19                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: V = ZZ^7
sage: V.base_extend(QQ)
Vector space of dimension 7 over Rational Field
sage:

How possibly could this happen? Why I get a different result in
doctesting? I seek of your expertise. Thank you in advance.


Kwankyu Lee

-- 
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