]> 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:04:21 +0000 (21:04 -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

lib/sqlalchemy/testing/requirements.py

index 75110ed036861bb51c31e338940e4a90432df437..7cef9284e361d49e8fbd7a284ffc93f55ebfa632 100644 (file)
@@ -858,6 +858,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