Skip to content

Commit 6f42b67

Browse files
timgrahamsarahboyce
authored andcommitted
[5.1.x] Refs #29850 -- Removed obsolete test_window_frame_raise_not_supported_error.
This NotSupportedError was removed in 6375cee because it will never be reached due to the same exception raised by Window.as_sql(). Backport of 94436de from main.
1 parent 5f4252e commit 6f42b67

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/backends/base/test_operations.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,6 @@ class DatabaseOperationTests(TestCase):
174174
def setUp(self):
175175
self.ops = BaseDatabaseOperations(connection=connection)
176176

177-
@skipIfDBFeature("supports_over_clause")
178-
def test_window_frame_raise_not_supported_error(self):
179-
msg = "This backend does not support window expressions."
180-
with self.assertRaisesMessage(NotSupportedError, msg):
181-
self.ops.window_frame_rows_start_end()
182-
183177
@skipIfDBFeature("can_distinct_on_fields")
184178
def test_distinct_on_fields(self):
185179
msg = "DISTINCT ON fields is not supported by this database backend"

0 commit comments

Comments
 (0)