#9738: unit test examples in docs use old "failUnless" methods instead of new "assert" methods ---------------------------+------------------------------------------------ Reporter: brandon | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ The unit testing examples are using the old "failUnlessEqual" UnitTest method instead of the new "assertEquals" methods. The "fail*" methods might become deprecated soon in the 2.x series, and I think have gone away completely in Python 3, so we should be teaching the Django legions to use the more modern names.
-- Ticket URL: <http://code.djangoproject.com/ticket/9738> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---