Hi Simon,

On Fri, 21 Nov 2008 02:49:20 -0800 (PST)
Simon King <[EMAIL PROTECTED]> wrote:

> On Nov 18, 11:46 am, Burcin Erocal <[EMAIL PROTECTED]> wrote:
> > On Tue, 18 Nov 2008 01:11:35 -0800 (PST)
> > > > Sage seems to include the current directory in the module search
> > > > path (sys.path). This is not the case for doctesting.
> >
> > > Do I understand correctly that this will be fixed in Sage 3.2?
> >
> > Yes, it will be fixed in 3.2.
> 
> Sorry, I just upgraded to 3.2, but still I must do "export
> SAGE_PATH=`pwd`" before running the doc tests. So, it isn't fixed yet.
> 
> Is there a ticket for that problem?

I guess there was a misunderstanding when I said "it will be fixed." I
only meant that the doctests will work with the SAGE_PATH environment
variable.

I don't think it is a good idea to add the current directory to the
module search path when testing. Files in the current directory
could interfere with other modules, and cause unexpected results.
It is better to declare the locations which should be searched for
library code.

Cheers,

Burcin

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to