]> 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:03:51 +0000 (23:03 +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

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 3b53dd943f40ebe9f7a2fd9f659f7985cc2527f0..ae3c7f3d5fb477a2fd400fcc2f82c32eec53176e 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."""