#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
-----------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"31e6c9c8e310e68a96c1f76b9657242c6cecaa4d" 31e6c9c8]:
{{{
#!CommitTicketReference repository=""
revision="31e6c9c8e310e68a96c1f76b9657242c6cecaa4d"
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.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24717#comment:7>
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.c4ece5d4839708e7736374385336053f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.