]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
add req for sqlite computed columns
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 Aug 2021 19:41:38 +0000 (15:41 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 Aug 2021 19:41:38 +0000 (15:41 -0400)
older Python 3.6 has a sqlite that doesn't support this

Change-Id: Ie65ef7fabeae2f5142573247548dd50d6d1708dd

tests/test_batch.py

index 91baef752bea808f9a75b41b0be99c86df56943d..1e0a86f6b5fc9808aae6c17b8c45110da153a9f7 100644 (file)
@@ -1967,6 +1967,7 @@ class BatchRoundTripTest(TestBase):
 
     @testing.combinations((True,), (False,))
     @testing.exclusions.only_on("sqlite")
+    @config.requirements.computed_columns
     def test_add_column_auto_generated(self, persisted):
         """test #883"""
         with self.op.batch_alter_table("foo") as batch_op: