summaryrefslogtreecommitdiff
path: root/tests/model_regress/test_pickle.py
AgeCommit message (Collapse)Author
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-05-11Optimized Model and QuerySet pickling version comparison.Adam Johnson
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2017-08-11Fixed #28456 -- Allowed customizing Model pickling by overriding __getstate__().Nerl~
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2016-02-08Refs #24007 -- Removed an apps.populate() call in model unpickling that can ↵Tim Graham
cause deadlocks.
2015-11-14Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite.Simon Charette
2015-04-30Fixed model_regress test failure on non-ASCII path; refs #24717.Tim Graham
2015-04-29Fixed #24717 -- Fixed model_regress test failure on RHEL6 SCLDavid D. Riddle
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.
2015-04-02Fixed mistakes in tests unveiled by version bump to 1.8.1.Tim Graham
Forwardport of e7366ab1f908b8cbf8d7e83037b5f17d101b5ade from stable/1.8.x
2015-02-23Normalized usage of the tempfile module.Aymeric Augustin
Specifically stopped using the dir argument.
2015-02-17Fixed "environment can only contain strings" in model_regress test on Windows.Tim Graham
2015-02-17Refs #24324 -- Fixed UnicodeDecodeError in model_regress test on non-ASCII path.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-01-16Fixed #24160 -- Fixed model_regress test on Windows; refs #24007.Collin Anderson
2014-12-19Fixed refs #24007 test on Windows.Tim Graham
2014-12-19Made model_regress unpickling test CWD-independentClaude Paroz
Refs #24007. Thanks Tim Graham for his help with the patch.
2014-12-17Allowed Python executable names other than python in test from refs #24007.Collin Anderson
2014-12-17Fixed #24007 -- Ensure apps registry's ready before unpickling modelsClaude Paroz
This prevents AppRegistryNotReady errors when unpickling Django models from an external script.
2014-06-11Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets ↵Anubhav Joshi
from a different Django version. Thanks FunkyBob for the suggestion, prasoon2211 for the initial patch, and akaariai, loic, and charettes for helping in shaping the patch.