summaryrefslogtreecommitdiff
path: root/tests/expressions_window
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2019-01-15 22:23:50 -0600
committerTim Graham <timograham@gmail.com>2019-02-09 08:47:41 -0500
commitb8c48d06fab3f1c9d52c28422a4a1b8350f5537f (patch)
tree51d8bbbfaaf3c46a2bb68746c73d40e6621916c5 /tests/expressions_window
parent64d5bafbc674db07537111d5fcbd113e32088d44 (diff)
Refs #26608 -- Added a database feature for fixed frame range distance support.
Diffstat (limited to 'tests/expressions_window')
-rw-r--r--tests/expressions_window/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/expressions_window/tests.py b/tests/expressions_window/tests.py
index a993a5e575..d9a4a4fa6c 100644
--- a/tests/expressions_window/tests.py
+++ b/tests/expressions_window/tests.py
@@ -536,8 +536,7 @@ class WindowFunctionTests(TestCase):
('Brown', 53000, 'Sales', datetime.date(2009, 9, 1), 108000),
], transform=lambda row: (row.name, row.salary, row.department, row.hire_date, row.sum))
- @skipIf(connection.vendor == 'postgresql', 'n following/preceding not supported by PostgreSQL')
- @skipIf(connection.vendor == 'sqlite', 'n following/preceding not supported by SQLite')
+ @skipUnlessDBFeature('supports_frame_range_fixed_distance')
def test_range_n_preceding_and_following(self):
qs = Employee.objects.annotate(sum=Window(
expression=Sum('salary'),