#7696: model_forms tests break on Windows after [7814] ----------------------------+----------------------------------------------- Reporter: Gulopine | Owner: Gulopine Status: new | Milestone: 1.0 beta Component: Core framework | Version: SVN Keywords: 2070-fix | Stage: Unreviewed Has_patch: 1 | ----------------------------+----------------------------------------------- in [7025], addition model_forms tests were introduced that opened a PNG in the test suite, but no mode was specified. Then, when [7814] went in, the tests were updated to use `ImageField` instead of `FileField`, which runs the content through PIL. This works fine in Unix-like environments, but on Windows, that opens the file in text mode, which only reads for 5 bytes. Then, when run through PIL, it rightfully doesn't recognize it as a valid image.
-- Ticket URL: <http://code.djangoproject.com/ticket/7696> Django Code <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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
