#21308: DatabaseError running tests with MySQL & utf8mb4 charset
-------------------------------------+-------------------------------------
Reporter: Greg Barker | Owner: nobody
<fletch@…> | Status: new
Type: Bug | Version: 1.5
Component: contrib.auth | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Greg Barker <fletch@…>):
Replying to [comment:1 timo]:
> Seems like a duplicate (or at least related) to #21196. I don't see how
the proposed change would fix the issue - have you tested it?
Oops, didn't see your reply on the mailing list before I submitted this
ticket.
After removing max_length from those two EmailFields in custom_user.py,
I'm able to run the tests successfully:
{{{
$ python mysite/manage.py test
Creating test database for alias 'default'...
..................................................................................................................................................s......................................................................................................................................x.......................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 481 tests in 12.454s
OK (skipped=1, expected failures=1)
Destroying test database for alias 'default'...
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21308#comment:2>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/093.08c9ece9063086a384766fd4274b42ed%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.