]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add missing suite level requirements from 2efd89d02941
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 18 Sep 2019 01:04:21 +0000 (21:04 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 18 Sep 2019 01:05:25 +0000 (21:05 -0400)
In 2efd89d02941ab4267d6e2842963fd38b1539f6c we added
suite-level requirements but did not add them to the
base, causing failures in third party dialect test suites.

Change-Id: Ic5f1a053f5c47166e1b12c613595823106c8736e
(cherry picked from commit 33648643f227929f083b67d817701f930078f901)

lib/sqlalchemy/testing/requirements.py

index 5d5e659d4d0cd3fc74f9ce907e1109c3f65320d5..21de2e6a3f8c942d307308b485c043c788a850ed 100644 (file)
@@ -656,6 +656,16 @@ class SuiteRequirements(Requirements):
         """
         return exclusions.closed()
 
+    @property
+    def order_by_col_from_union(self):
+        """target database supports ordering by a column from a SELECT
+        inside of a UNION
+
+        E.g.  (SELECT id, ...) UNION (SELECT id, ...) ORDER BY id
+
+        """
+        return exclusions.open()
+
     @property
     def order_by_label_with_expression(self):
         """target backend supports ORDER BY a column label within an