#26755: test_middleware_classes_headers fails when django files aren't writable
--------------------------------------+------------------------------------
     Reporter:  Raphaƫl Hertzog       |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Core (Other)          |                  Version:  1.9
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Claude Paroz):

 * needs_better_patch:  0 => 1


Comment:

 Thanks for the patch, but adding a new usage of a Python deprecated module
 (`imp`) is not an option.
 Would it be possible to explore the other option (`copy the file to a
 temporary directory that you add to sys.path`)? We even have a utility
 (`django.test.utils.extend_sys_path`) for that.

--
Ticket URL: <https://code.djangoproject.com/ticket/26755#comment:3>
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/066.a1f50eb8c46f1026ffa4d9ab19cc520d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to