From f52be645d7f5735bba52786b2f417cc0786f138d Mon Sep 17 00:00:00 2001 From: Anders Bogsnes Date: Mon, 5 Aug 2024 16:28:48 -0400 Subject: [PATCH] Add array_type to SuiteRequirements 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 | 5 +++++ lib/sqlalchemy/testing/requirements.py | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 doc/build/changelog/unreleased_20/array_type.rst diff --git a/doc/build/changelog/unreleased_20/array_type.rst b/doc/build/changelog/unreleased_20/array_type.rst new file mode 100644 index 0000000000..9b0801faf5 --- /dev/null +++ b/doc/build/changelog/unreleased_20/array_type.rst @@ -0,0 +1,5 @@ +.. change:: + :tags: bug, test + + Added missing ``array_type`` property to the testing suite + ``SuiteRequirements`` class. diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py index 3b53dd943f..ae3c7f3d5f 100644 --- a/lib/sqlalchemy/testing/requirements.py +++ b/lib/sqlalchemy/testing/requirements.py @@ -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.""" -- 2.47.2