From 94436dee57ce677e6ffcbb0438e0441d5c261d62 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 14 Dec 2024 10:35:06 -0500 Subject: [PATCH] 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(). --- tests/backends/base/test_operations.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/backends/base/test_operations.py b/tests/backends/base/test_operations.py index 18433352ad..3223550446 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"