[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib/test test_dumbdbm.py,NONE,1.1

Guido van Rossum guido@digicool.com
Sat, 20 Jan 2001 11:18:39 -0500


> On Thu, Jan 18, 2001 at 08:46:54AM -0800, Guido van Rossum wrote:
> 
> > filename = '/tmp/delete_me'
> 
> This reminds me: we need a portable way to handle test-files :)

Yeah, I noticed that this test failed on Windows -- fixed now.

The test_support module exports TESTFN; there's also tempfile.mktemp()
which should generate temporary files on all platforms.

Is that enough?

--Guido van Rossum (home page: http://www.python.org/~guido/)