]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add array_type to SuiteRequirements
authorAnders Bogsnes <andersbogsnes@gmail.com>
Mon, 5 Aug 2024 20:28:48 +0000 (16:28 -0400)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 5 Aug 2024 21:05:33 +0000 (23:05 +0200)
Added missing ``array_type`` property to the testing suite
``SuiteRequirements`` class.

Closes: #11694
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11694
Pull-request-sha: 24697f6a4346005aa83d8eb06f94bba4cc994862

Change-Id: I192b5b932dfef07043c0c0cfe8ea36b02425a44d
(cherry picked from commit f52be645d7f5735bba52786b2f417cc0786f138d)

doc/build/changelog/unreleased_20/array_type.rst [new file with mode: 0644]
lib/sqlalchemy/testing/requirements.py

diff --git a/doc/build/changelog/unreleased_20/array_type.rst b/doc/build/changelog/unreleased_20/array_type.rst
new file mode 100644 (file)
index 0000000..9b0801f
--- /dev/null
@@ -0,0 +1,5 @@
+.. change::
+    :tags: bug, test
+
+    Added missing ``array_type`` property to the testing suite
+    ``SuiteRequirements`` class.
index 273e5acab91757c49860e0a479de149d2edebd5f..b23230f8b2c1e1692ccabaf4d131637438eb6dbd 100644 (file)
@@ -1093,6 +1093,11 @@ class SuiteRequirements(Requirements):
 
         return exclusions.only_if(go)
 
+    @property
+    def array_type(self):
+        """Target platform implements a native ARRAY type"""
+        return exclusions.closed()
+
     @property
     def json_type(self):
         """target platform implements a native JSON type."""