Changes between Initial Version and Version 2 of Ticket #36596
- Timestamp:
- Sep 5, 2025, 7:00:27 AM (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36596
- Property Triage Stage Unreviewed → Accepted
-
Ticket #36596 – Description
initial v2 1 The [https://docs.djangoproject.com/en/5.2/releases/3.2/#database-backends django_test_expected_failures] methodhas 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.1 The [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. 2 2 3 3 To reproduce: