* type: Uncategorized => Cleanup/optimization
* component: Testing framework => Core (Other)
* stage: Unreviewed => Accepted
Comment:
Thanks for the report. I was able to reproduce even more failures:
{{{
ERROR: test_failure_in_setUpTestData_should_rollback_transaction
(test_utils.tests.TestBadSetUpTestData)
FAIL: test_reset_sequences (test_utils.test_testcase.TestTestCase)
FAIL: test_class_attribute_identity
(test_utils.test_testcase.TestDataTests)
FAIL: test_execute (test_utils.tests.CaptureOnCommitCallbacksTests)
FAIL: test_execute_recursive
(test_utils.tests.CaptureOnCommitCallbacksTests)
FAIL: test_execute_tree (test_utils.tests.CaptureOnCommitCallbacksTests)
FAIL: test_no_arguments (test_utils.tests.CaptureOnCommitCallbacksTests)
FAIL: test_pre_callback (test_utils.tests.CaptureOnCommitCallbacksTests)
FAIL: test_using (test_utils.tests.CaptureOnCommitCallbacksTests)
}}}
`CaptureOnCommitCallbacksTests` should be skipped on databases that don't
support transactions, i.e. decorated with
`@skipUnlessDBFeature("supports_transactions")`. I didn't check other
failures. Would you like to prepare a patch?
--
Ticket URL: <https://code.djangoproject.com/ticket/33633#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.