diff --git a/django/test/testcases.py b/django/test/testcases.py
index 1239275..ec1f78a 100644
a
|
b
|
class LiveServerTestCase(TransactionTestCase):
|
1077 | 1077 | for conn in connections.all(): |
1078 | 1078 | # If using in-memory sqlite databases, pass the connections to |
1079 | 1079 | # the server thread. |
1080 | | if (conn.settings_dict['ENGINE'] == 'django.db.backends.sqlite3' |
| 1080 | if (conn.settings_dict['ENGINE'] in ('django.db.backends.sqlite3', 'django.contrib.gis.db.backends.spatialite') |
1081 | 1081 | and conn.settings_dict['NAME'] == ':memory:'): |
1082 | 1082 | # Explicitly enable thread-shareability for this connection |
1083 | 1083 | conn.allow_thread_sharing = True |