A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-May/014706.html below:

[Python-Dev] Re: test_mmap failing?

[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!



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4