replacing __dict__ with an OrderedDict

Neil Cerutti neilc at norwich.edu
Mon Jan 9 09:52:39 EST 2012


On 2012-01-09, Roy Smith <roy at panix.com> wrote:
> If somebody (i.e. the classic "consenting adult" of the Python
> world) wants to take advantage of that to write a test suite
> where the tests *do* depend on each other, and have to be run
> in a certain order, there's nothing wrong with that.  As long
> as they understand the consequences of their actions, don't try
> to preach unittest religion to them.  They're in the best
> position to know if what they're trying to do is the best thing
> for their particular situation.

If a question springs from an idea that is usually a bad
practice, then it should be challenged. The possible broken-nose
of a questioner is a small price to pay for the education of the
peanut gallery.

If a questioner does not wish to defend what they are doing, he
or she has that right, of course.

-- 
Neil Cerutti



More information about the Python-list mailing list