summaryrefslogtreecommitdiff
path: root/test/dialect/postgresql/test_compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
-rw-r--r--test/dialect/postgresql/test_compiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dialect/postgresql/test_compiler.py b/test/dialect/postgresql/test_compiler.py
index c763dbeac..96a8e7d5a 100644
--- a/test/dialect/postgresql/test_compiler.py
+++ b/test/dialect/postgresql/test_compiler.py
@@ -91,11 +91,11 @@ class SequenceTest(fixtures.TestBase, AssertsCompiledSQL):
(SmallInteger, "AS SMALLINT "),
(BigInteger, "AS BIGINT "),
)
- def test_create_index_concurrently(self, type_, text):
+ def test_compile_type(self, type_, text):
s = Sequence("s1", data_type=type_)
self.assert_compile(
schema.CreateSequence(s),
- "CREATE SEQUENCE s1 %sSTART WITH 1" % text,
+ f"CREATE SEQUENCE s1 {text}".strip(),
dialect=postgresql.dialect(),
)