[Python-Dev] Re: test_mmap failing?

Thomas Wouters thomas@xs4all.net
Fri, 11 May 2001 11:02:26 +0200


On Thu, May 10, 2001 at 10:57:59AM -0400, Fred L. Drake, Jr. wrote:

[ Fred violates Tim's Rule #1 (don't ever use 'foo' for anything) and gets
  bitten in the derriere ]

>   This begs the question, though -- should tests that create temp
> files check that the files don't already exist, and fail with a more
> descriptive error if they do?

I'd think so, yes. I'd also suggest nothing uses something as lamenamed as
'foo', 'test' or 'spam' -- I'm sure Tim will agree with me, at least on the
first account :) How about mmap calls its test-testfile 'test_mmap.foo' ?

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!