Changes between Version 2 and Version 3 of Ticket #28575


Ignore:
Timestamp:
Sep 11, 2017, 9:53:49 AM (7 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28575

    • Property Triage Stage UnreviewedAccepted
  • Ticket #28575 – Description

    v2 v3  
    77}}}
    88
    9 Note that *instances* of `Model.DoesNotExist` are pickleable as fixed here: https://code.djangoproject.com/ticket/17776. However the class itself is not.  This is particularly problematic when using the Django test runner with the `--parallel` option enabled when a `Model.DoesNotExist` exception is raised. The result of this is the test runner bailing with a `pickle.PicklingError`, making it exceptionally difficult to debug the cause of the `Model.DoesNotExist`.
     9*Instances* of `Model.DoesNotExist` are pickleable as fixed in #17776, however, the class itself is not.  This is particularly problematic when using the Django test runner with the `--parallel` option enabled when a `Model.DoesNotExist` exception is raised. The result of this is the test runner bailing with a `pickle.PicklingError`, making it exceptionally difficult to debug the cause of the `Model.DoesNotExist`.
Back to Top