[Numpy-discussion] Test test_minrelpath.py on unix for me

Tim Hochberg tim.hochberg at cox.net
Sat Feb 11 07:37:02 CST 2006


Pearu Peterson wrote:

>
>
> On Fri, 10 Feb 2006, Tim Hochberg wrote:
>
>>
>> Could someone try the attached diff on a unixy system? It works under 
>> windows, but it's easy to mess up those \/'s.
>
>
> Hmm, minrelpath does not need
>
>     if os.sep != '/':
>         path = path.replace('/',os.sep)
>
> In functions (see njoin, for instance) that call minrelpath already 
> have applied this codelet.
>
> I have commited the tests fix with some modifications to svn, tested 
> on Linux.

That seems to do the trick under VC7 as well.

Thanks,

-tim

>
> Pearu
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
>






More information about the Numpy-discussion mailing list