Răsfoiți Sursa

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().
Tim Graham 3 luni în urmă
părinte
comite
94436dee57
1 a modificat fișierele cu 0 adăugiri și 6 ștergeri
  1. 0 6
      tests/backends/base/test_operations.py

+ 0 - 6
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"