diff options
Diffstat (limited to 'tests/test_utils/tests.py')
| -rw-r--r-- | tests/test_utils/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py index 6a4467fdcb..fb19d6e464 100644 --- a/tests/test_utils/tests.py +++ b/tests/test_utils/tests.py @@ -2126,6 +2126,7 @@ class OverrideSettingsTests(SimpleTestCase): self.assertIn(expected_location, finder.locations) +@skipUnlessDBFeature("supports_transactions") class TestBadSetUpTestData(TestCase): """ An exception in setUpTestData() shouldn't leak a transaction which would @@ -2160,6 +2161,7 @@ class TestBadSetUpTestData(TestCase): self.assertFalse(self._in_atomic_block) +@skipUnlessDBFeature("supports_transactions") class CaptureOnCommitCallbacksTests(TestCase): databases = {"default", "other"} callback_called = False |
