summaryrefslogtreecommitdiff
path: root/tests/servers
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-12-10 18:00:57 +0100
committerGitHub <noreply@github.com>2020-12-10 18:00:57 +0100
commit275dd4ebbabbbe758c7219a3d666953d5a7b072f (patch)
treed0534f7047f9ba43525368eda2c121df54801d4c /tests/servers
parent5ce31d6a7142ca8c76d6b52fa42b3406b9a8ff48 (diff)
downloaddjango-275dd4ebbabbbe758c7219a3d666953d5a7b072f.tar.gz
Fixed #32178 -- Allowed database backends to skip tests and mark expected failures.
Co-authored-by: Tim Graham <timograham@gmail.com>
Diffstat (limited to 'tests/servers')
-rw-r--r--tests/servers/test_liveserverthread.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/servers/test_liveserverthread.py b/tests/servers/test_liveserverthread.py
index 9762b53791..a2af459edc 100644
--- a/tests/servers/test_liveserverthread.py
+++ b/tests/servers/test_liveserverthread.py
@@ -13,8 +13,6 @@ class LiveServerThreadTest(TestCase):
def test_closes_connections(self):
conn = connections[DEFAULT_DB_ALIAS]
- if conn.vendor == 'sqlite' and conn.is_in_memory_db():
- self.skipTest("the sqlite backend's close() method is a no-op when using an in-memory database")
# Pass a connection to the thread to check they are being closed.
connections_override = {DEFAULT_DB_ALIAS: conn}