Ticket #16337: forms.patch

File forms.patch, 523 bytes (added by tooxie, 13 years ago)

Patch.

  • django/contrib/auth/tests/forms.py

     
    7171        form = UserCreationForm(data)
    7272        self.assertTrue(form.is_valid())
    7373        u = form.save()
    74         self.assertEqual(repr(u), '<User: jsmith@example.com>')
     74        self.assertEqual(repr(u), '<User: <jsmith@example.com>>')
    7575
    7676
    7777class AuthenticationFormTest(TestCase):
Back to Top