Skip to content

Commit cb24beb

Browse files
Refs #36938 -- Marked a test for union of ordered querysets as an expected failure on Oracle.
Oracle's SQL parser does not allow ORDER BY in components of a union in some cases, so xfail this test until an exception can be raised.
1 parent 283ea9e commit cb24beb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

django/db/backends/oracle/features.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
8585
"annotations.tests.NonAggregateAnnotationTestCase.test_custom_functions",
8686
"annotations.tests.NonAggregateAnnotationTestCase."
8787
"test_custom_functions_can_ref_other_functions",
88+
# A bug in Django with respect to unioning ordered querysets (#36938).
89+
"queries.test_qs_combinators.QuerySetSetOperationTests."
90+
"test_count_union_with_select_related_in_values",
8891
}
8992
insert_test_table_with_defaults = (
9093
"INSERT INTO {} VALUES (DEFAULT, DEFAULT, DEFAULT)"

0 commit comments

Comments
 (0)