1
0
mirror of https://github.com/django/django.git synced 2025-01-03 06:55:47 +00:00

Avoided nested transactions in SkippingClassTestCase.

This commit is contained in:
Florian Apolloner 2023-12-30 12:15:13 +01:00 committed by Mariusz Felisiak
parent 4eb4ab4122
commit 6e520d9537

View File

@ -157,7 +157,9 @@ class SkippingTestCase(SimpleTestCase):
)
class SkippingClassTestCase(TestCase):
class SkippingClassTestCase(TransactionTestCase):
available_apps = []
def test_skip_class_unless_db_feature(self):
@skipUnlessDBFeature("__class__")
class NotSkippedTests(TestCase):