#24717: Unit test model_regress.test_pickle.ModelPickleTestCase fails on RHEL6 
SCL
-----------------------------------+------------------------------------
     Reporter:  ddriddle           |                    Owner:  ddriddle
         Type:  Bug                |                   Status:  closed
    Component:  Testing framework  |                  Version:  1.8
     Severity:  Normal             |               Resolution:  fixed
     Keywords:                     |             Triage Stage:  Accepted
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  1
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"8c58caaf9dbd2c8769f27133d70784c7d74791ce" 8c58caaf]:
 {{{
 #!CommitTicketReference repository=""
 revision="8c58caaf9dbd2c8769f27133d70784c7d74791ce"
 [1.8.x] Fixed #24717 -- Fixed model_regress test failure on RHEL6 SCL

 The test failed on RHEL6 systems running python 2.7 from a RedHat
 Software Collection (SCL) because this test runs an external python
 script with a stripped system environment. RedHat SCLs work by setting
 a number of system environment variables when these are stripped out by
 this test the python 2.7 interpreter is no longer able to function
 properly because it can not find the system libraries needed.

 Now we use use mock to modify the system environment directly.

 Backport of 31e6c9c8e310e68a96c1f76b9657242c6cecaa4d from master
 }}}

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

Reply via email to