1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Used DatabaseFeatures.django_test_skips to skip AssertNumQueriesUponConnectionTests tests.

This commit is contained in:
Christophe Baldy
2022-11-24 19:41:08 +01:00
committed by GitHub
parent 17472c3304
commit 70c945d6b3
2 changed files with 5 additions and 4 deletions

View File

@@ -235,10 +235,6 @@ class AssertNumQueriesTests(TestCase):
self.assertNumQueries(2, test_func)
@unittest.skipUnless(
connection.vendor != "sqlite" or not connection.is_in_memory_db(),
"For SQLite in-memory tests, closing the connection destroys the database.",
)
class AssertNumQueriesUponConnectionTests(TransactionTestCase):
available_apps = []