Re: [Numpy-discussion] Handling named temporary files in tests

2009-03-09 Thread Francesc Alted
A Monday 09 March 2009, David Cournapeau escrigué: > Hi, > > While fixing several windows specific unit test failures, I > encountered some problems I am not sure how to solve. In particular, > we have a relatively common idiom as follows: > > Open file securely with a visible name (using Named

[Numpy-discussion] Handling named temporary files in tests

2009-03-09 Thread David Cournapeau
Hi, While fixing several windows specific unit test failures, I encountered some problems I am not sure how to solve. In particular, we have a relatively common idiom as follows: Open file securely with a visible name (using NamedTemporaryFile) write some content into it open the file with an