summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/backends/tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/backends/tests.py b/tests/backends/tests.py
index 460b522079..1bb019bb55 100644
--- a/tests/backends/tests.py
+++ b/tests/backends/tests.py
@@ -826,6 +826,11 @@ class BackendTestCase(TransactionTestCase):
BaseDatabaseWrapper.queries_limit = old_queries_limit
new_connection.close()
+ def test_timezone_none_use_tz_false(self):
+ connection.ensure_connection()
+ with self.settings(TIME_ZONE=None, USE_TZ=False):
+ connection.init_connection_state()
+
# We don't make these tests conditional because that means we would need to
# check and differentiate between: