mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Refs #29850 -- Removed obsolete test_window_frame_raise_not_supported_error.
This NotSupportedError was removed in 6375cee490
because it will never be reached due to the same exception raised by
Window.as_sql().
This commit is contained in:
parent
e9ed9ec043
commit
94436dee57
@ -174,12 +174,6 @@ class DatabaseOperationTests(TestCase):
|
|||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.ops = BaseDatabaseOperations(connection=connection)
|
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")
|
@skipIfDBFeature("can_distinct_on_fields")
|
||||||
def test_distinct_on_fields(self):
|
def test_distinct_on_fields(self):
|
||||||
msg = "DISTINCT ON fields is not supported by this database backend"
|
msg = "DISTINCT ON fields is not supported by this database backend"
|
||||||
|
Loading…
Reference in New Issue
Block a user