[Python-3000] [Python-Dev] Need help fixing failing Py3k Unittests in py3k-struni (original) (raw)
Guido van Rossum guido at python.org
Wed Jul 11 08:48:49 CEST 2007
- Previous message: [Python-3000] [Python-Dev] Need help fixing failing Py3k Unittests in py3k-struni
- Next message: [Python-3000] Need help fixing failing Py3k Unittests in py3k-struni
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Please use self.assertEqual() instead of self.failUnlessEqual() -- the assertEqual() form is much more common. Otherwise, good idea!
On 7/11/07, Christian Heimes <lists at cheimes.de> wrote:
Steven Bethard wrote: > I'd probably go with something a little more restrictive, maybe: > > r'self.assert(\S+ == \S+)' > > Something like that ought to have fewer false positives.
Woops! You are right. Even your pattern has caused some false positives but I've reread the patch and removed the offending lines. I'm going to upload another patch as soon as I have verified mine again. Christian
Python-3000 mailing list Python-3000 at python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-3000] [Python-Dev] Need help fixing failing Py3k Unittests in py3k-struni
- Next message: [Python-3000] Need help fixing failing Py3k Unittests in py3k-struni
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]