#23464: Random exception when running unit tests.
------------------------------+--------------------------------------
     Reporter:  erikcw        |                    Owner:  nobody
         Type:  Bug           |                   Status:  new
    Component:  Core (Other)  |                  Version:  1.7
     Severity:  Normal        |               Resolution:
     Keywords:                |             Triage Stage:  Unreviewed
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+--------------------------------------

Comment (by erikcw):

 This is definitely related to caching.  When I flush my cache, the tests
 run fine, but if I immediately run it a seconds time before the cached
 objects have expired, I get the traceback.

 It looks like {{{_closed_objects}}} isn't serialized when the objects are
 pickled for caching.

 This doesn't seem to be limited to a particular backend -- I've tested
 with FileBasedCache, Memcached,and Redis.

--
Ticket URL: <https://code.djangoproject.com/ticket/23464#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/064.57df375a6d5cb26e9d7ed9cce81d4ac3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to