diff options
author | CaselIT <cfederico87@gmail.com> | 2020-10-16 21:39:41 +0200 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-10-26 11:11:04 -0400 |
commit | a9f333021cf0c1c799e15d1b5a087bcea7c65231 (patch) | |
tree | c23b6ffb4a12dd4253b69148a3671ea1ce499830 /tests/test_postgresql.py | |
parent | 322d8312d21b031b17044565b5e8cfc9ee7be141 (diff) | |
download | alembic-a9f333021cf0c1c799e15d1b5a087bcea7c65231.tar.gz |
Remove support for Python 3.5 and SQLAlchemy older than the 1.3 series.
Fixes: #748
Change-Id: I18df97bdce5de6adb222d3f16486272e95b1b1a6
Diffstat (limited to 'tests/test_postgresql.py')
-rw-r--r-- | tests/test_postgresql.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/test_postgresql.py b/tests/test_postgresql.py index 8c43510..f928868 100644 --- a/tests/test_postgresql.py +++ b/tests/test_postgresql.py @@ -155,7 +155,6 @@ class PostgresqlOpTest(TestBase): 'USING gist ("SomeColumn" WITH >) WHERE ("SomeColumn" > 5)' ) - @config.requirements.comments_api def test_add_column_with_comment(self): context = op_fixture("postgresql") op.add_column("t", Column("q", Integer, comment="This is a comment")) @@ -164,7 +163,6 @@ class PostgresqlOpTest(TestBase): "COMMENT ON COLUMN t.q IS 'This is a comment'", ) - @config.requirements.comments_api def test_alter_column_with_comment(self): context = op_fixture("postgresql") op.alter_column( @@ -181,7 +179,6 @@ class PostgresqlOpTest(TestBase): "COMMENT ON COLUMN foo.t.c IS 'This is a column comment'", ) - @config.requirements.comments_api def test_alter_column_add_comment(self): context = op_fixture("postgresql") op.alter_column( @@ -196,7 +193,6 @@ class PostgresqlOpTest(TestBase): "COMMENT ON COLUMN foo.t.c IS 'This is a column comment'" ) - @config.requirements.comments_api def test_alter_column_add_comment_table_and_column_quoting(self): context = op_fixture("postgresql") op.alter_column( @@ -211,7 +207,6 @@ class PostgresqlOpTest(TestBase): 'COMMENT ON COLUMN foo."T"."C" IS \'This is a column comment\'' ) - @config.requirements.comments_api def test_alter_column_add_comment_quoting(self): context = op_fixture("postgresql") op.alter_column( @@ -226,7 +221,6 @@ class PostgresqlOpTest(TestBase): "COMMENT ON COLUMN foo.t.c IS 'This is a column ''comment'''" ) - @config.requirements.comments_api def test_alter_column_drop_comment(self): context = op_fixture("postgresql") op.alter_column( @@ -240,7 +234,6 @@ class PostgresqlOpTest(TestBase): context.assert_("COMMENT ON COLUMN foo.t.c IS NULL") - @config.requirements.comments_api def test_create_table_with_comment(self): context = op_fixture("postgresql") op.create_table( @@ -255,7 +248,6 @@ class PostgresqlOpTest(TestBase): "COMMENT ON TABLE t2 IS 't2 comment'", ) - @config.requirements.comments_api def test_create_table_with_column_comments(self): context = op_fixture("postgresql") op.create_table( @@ -272,14 +264,12 @@ class PostgresqlOpTest(TestBase): "COMMENT ON COLUMN t2.c2 IS 'c2 comment'", ) - @config.requirements.comments_api def test_create_table_comment(self): # this is handled by SQLAlchemy's compilers context = op_fixture("postgresql") op.create_table_comment("t2", comment="t2 table", schema="foo") context.assert_("COMMENT ON TABLE foo.t2 IS 't2 table'") - @config.requirements.comments_api def test_drop_table_comment(self): # this is handled by SQLAlchemy's compilers context = op_fixture("postgresql") |