Skip to content

Commit

Permalink
Refs #29850 -- Removed obsolete test_window_frame_raise_not_supported…
Browse files Browse the repository at this point in the history
…_error.

This NotSupportedError was removed in 6375cee
because it will never be reached due to the same exception raised by
Window.as_sql().
  • Loading branch information
timgraham authored and sarahboyce committed Dec 16, 2024
1 parent e9ed9ec commit 94436de
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/backends/base/test_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 94436de

Please sign in to comment.