[Python-Dev] How to test this?

Martin v. Löwis martin@v.loewis.de
05 May 2003 22:39:40 +0200


Skip Montanaro <skip@pobox.com> writes:

> I just added a patch file to <http://python.org/sf/731501>.  It
> doesn't include any test cases, since that requires an old db hash
> v2 file present.  Is it okay to check in a dummy file to Lib/test
> for this purpose?

Make sure you use -kb in the cvs add. Apart from that, it would be
fine by me - except that I recall that the file format is
endianness-sensitive, so you should make sure that the test passes on
machines of both endiannesses before adding the file.

Regards,
Martin