summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2024-12-14 10:35:06 -0500
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-12-16 13:43:56 +0100
commit6f42b675c7e2f209b918a3394922af8d0401a016 (patch)
treee11be8a757b814684daddca1a1f3f02c740052e2
parent5f4252ecd6ce19cbf6d8bb9a3b4cca6a32eb40c2 (diff)
[5.1.x] Refs #29850 -- Removed obsolete test_window_frame_raise_not_supported_error.
This NotSupportedError was removed in 6375cee490725969b4f67b3c988ef01350c1ad6d because it will never be reached due to the same exception raised by Window.as_sql(). Backport of 94436dee57ce677e6ffcbb0438e0441d5c261d62 from main.
-rw-r--r--tests/backends/base/test_operations.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/backends/base/test_operations.py b/tests/backends/base/test_operations.py
index 8df02ee76b..36891323fd 100644
--- a/tests/backends/base/test_operations.py
+++ b/tests/backends/base/test_operations.py
@@ -174,12 +174,6 @@ class DatabaseOperationTests(TestCase):
def setUp(self):
self.ops = BaseDatabaseOperations(connection=connection)
- @skipIfDBFeature("supports_over_clause")
- def test_window_frame_raise_not_supported_error(self):
- msg = "This backend does not support window expressions."
- with self.assertRaisesMessage(NotSupportedError, msg):
- self.ops.window_frame_rows_start_end()
-
@skipIfDBFeature("can_distinct_on_fields")
def test_distinct_on_fields(self):
msg = "DISTINCT ON fields is not supported by this database backend"