This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients Decorater, brett.cannon, ethan.furman, serhiy.storchaka, xiang.zhang, ztane
Date 2016-07-14.15:31:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468510286.67.0.33613579118.issue27512@psf.upfronthosting.co.za>
In-reply-to
Content
> I think such omissions are hard to predict and you won't know where is
> the omission until you encounter it. So if you don't know, how do you
> know what to put in the tests?

True.

> And if it is encountered and fixed, such errors should not happen again.

False.

Such errors *will* happen again -- they are called regressions.  In order to avoid those we add tests, and those tests serve several purposes:

- confirm the problem has been fixed (not every bug is a core-dump)
- confirm that changes in the future don't reintroduce the bug
- communicate past difficulties and possible gotchas to new developers

In short:  add tests; patches are not complete without them.
History
Date User Action Args
2016-07-14 15:31:26ethan.furmansetrecipients: + ethan.furman, brett.cannon, serhiy.storchaka, ztane, xiang.zhang, Decorater
2016-07-14 15:31:26ethan.furmansetmessageid: <1468510286.67.0.33613579118.issue27512@psf.upfronthosting.co.za>
2016-07-14 15:31:26ethan.furmanlinkissue27512 messages
2016-07-14 15:31:26ethan.furmancreate