From f903e71d9348256e6e719f8b14987431c85701e5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 20 Apr 2024 23:36:31 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_functional.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_functional.py b/tests/test_functional.py index beb20ac4..5bdd6975 100644 --- a/tests/test_functional.py +++ b/tests/test_functional.py @@ -358,11 +358,11 @@ class GeomTypeTable(base): metadata.drop_all(bind=conn, checkfirst=True) metadata.create_all(bind=conn) - if dialect_name == 'postgresql' and 'MULTIPOINT' in geom_type: + if dialect_name == "postgresql" and "MULTIPOINT" in geom_type: # formats wkt to wrap tuple elements in brackets, # for example '(1 2, 3 4)' to '((1 2), (3 4))'. wkt = "({})".format( - ", ".join(map(lambda x: '({})'.format(x.strip()), wkt[1:-1].split(','))) + ", ".join(map(lambda x: "({})".format(x.strip()), wkt[1:-1].split(","))) ) inserted_wkt = f"{geom_type}{wkt}"