On Apr 24, 2009, at 12:21 AM, Nicolas M. Thiery wrote:

>       Hi!
>
> I just upgrade to 3.4.1, and on my machine sage -t is broken for files
> in subdirectories. For example:
>
> ---------------------------------------------------------------------- 
> --------
> zephyr-~sage-main/sage>sage -t monoids/free_monoid.py
> sage -t  "3.4.rc0/devel/sage-main/sage/monoids/free_monoid.py"
>   File "./free_monoid.py", line 18
>     from monoids/free_monoid import *
>                 ^
> SyntaxError: invalid syntax
>
>          [0.4 s]
> exit code: 1024
>
> ----------------------------------------------------------------------
> The following tests failed:
>
>
>         sage -t  "3.4.rc0/devel/sage-main/sage/monoids/free_monoid.py"
> Total time for all tests: 0.4 seconds
> ---------------------------------------------------------------------- 
> --------
>
> Seems like sage -t misdetects the file as not beeing in sage's source
> tree and trying to (incorrectly) import it.
>
> Anyone else running into the same problem?

Yes, I got this too. I thought it was just because I was working in a  
non-upgraded branch (of an upgraded Sage), but it seems to be more  
common than that.

- Robert



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to