test naming

Martin Pool mbp at sourcefrog.net
Wed Nov 23 23:38:34 GMT 2005


On 24 Nov 2005, Robert Collins <robertc at robertcollins.net> wrote:

> so PEP8 says it should be  testcommitmerge.py not test_commitmerge.py or
> testcommit_merge.py or test_commit_merge.py. I'm pretty sure we have a
> not on this in HACKING.

I'm inclined to go with John here, despite PEP 8 (and despite it
generally being a good thing to follow PEP 8).  The justification given
there is that some filesystems truncate long names.  That is not true
for any platform we run on or are likely to run on.  So it's trumped by
the meta-rule that readability is more important.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051124/b07ba6b1/attachment.pgp 


More information about the bazaar mailing list