Changes between Initial Version and Version 2 of Ticket #36596


Ignore:
Timestamp:
Sep 5, 2025, 7:00:27 AM (3 weeks ago)
Author:
Jacob Walls
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36596

    • Property Triage Stage UnreviewedAccepted
  • Ticket #36596 – Description

    initial v2  
    1 The [https://docs.djangoproject.com/en/5.2/releases/3.2/#database-backends django_test_expected_failures] method has no effect on the parallel test runner in "spawn" multiprocessing mode, because it uses `setattr` to [https://github.com/django/django/blob/4e7a991c12a113229e0927974d3bf94ea04eecf6/django/db/backends/base/creation.py#L365 monkey-patch] a class, and that patching is lost when workers are spawned.
     1The [https://docs.djangoproject.com/en/5.2/releases/3.2/#database-backends django_test_expected_failures] attribute has no effect on the parallel test runner in "spawn" multiprocessing mode, because it uses `setattr` to [https://github.com/django/django/blob/4e7a991c12a113229e0927974d3bf94ea04eecf6/django/db/backends/base/creation.py#L365 monkey-patch] a class, and that patching is lost when workers are spawned.
    22
    33To reproduce:
Back to Top