diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2015-06-05 16:44:12 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2015-09-09 23:03:44 +0200 |
| commit | 073ea9e8522e7d685864fd9e283bd1fcb9fa5243 (patch) | |
| tree | 098b8223566c0b09aee53aa9ad4b593a710e6a78 /docs | |
| parent | b799a50c8e4461121b52659970c21a58b4067651 (diff) | |
Acknoweldeged a limitation of the parallel test runner.
Notably it will fail to report a Model.DoesNotExist exceptions because
the class itself isn't pickleable. (Django has specific code to make its
instances pickleable.)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index a98b60b45f..0c88b5aadb 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1285,6 +1285,17 @@ correctly: $ pip install tblib +.. warning:: + + When test parallelization is enabled and a test fails, Django may be + unable to display the exception traceback. This can make debugging + difficult. If you encounter this problem, run the affected test without + parallelization to see the traceback of the failure. + + This is a known limitation. It arises from the need to serialize objects + in order to exchange them between processes. See + :ref:`python:pickle-picklable` for details. + testserver <fixture fixture ...> -------------------------------- |
