New submission from J. Pablo Fernández <[EMAIL PROTECTED]>: I'm attaching a patch that adds expect methods to TestCase. They are like fail methods, but they don't fail immediately. They are useful when you want to catch more than one error at a time. I included some tests. There are docstrings but more documentation might be needed. I'll gladly write it if/when the code is good to go. The original code was written by Donovan Baarda for an internal project at Google, I only extracted the bits that made sense to publish and changed the style to me more Python-alike.
---------- components: Library (Lib) files: expect.diff keywords: patch messages: 71518 nosy: pupeno severity: normal status: open title: Expect methods for testing. versions: Python 3.0 Added file: http://bugs.python.org/file11171/expect.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3615> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com