#11032: Failed regressiontest on Windows for ImageField -------------------------------------------+-------------------------------- Reporter: joeri | Owner: nobody Status: reopened | Milestone: Component: File uploads/storage | Version: SVN Resolution: | Keywords: regressiontest imagefield windows Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -------------------------------------------+-------------------------------- Comment (by bthomas):
The file_storage tests fail for me on Windows as well, but for a different reason. "shot" is being held open, not "mug". If I remove the last test: {{{ # Make sure that wrapping the file in a file still works >>> p3.mugshot.file.open() >>> p = Person.objects.create(name="Bob The Builder", mugshot=File(p3.mugshot.file)) >>> p.save() }}} everything is fine. If instead I just add {{{p3.mugshot.file.close()}}} after the {{{p.save()}}}, the test will also pass. -- Ticket URL: <http://code.djangoproject.com/ticket/11032#comment:4> 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 django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---