]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Remove unused .cascading from unit test for __table_cls__ feature
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 28 Sep 2017 17:05:56 +0000 (13:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 28 Sep 2017 17:07:45 +0000 (13:07 -0400)
Two independent gerrits for 04bbad660bcbb7b920f3e75110a7b1187d9ddc38
and ec1700ba29f7f15859ee6576855a4d6675265640 produce a failure
when merged due to new warning.
will merge into rel_1_1 as well for completeness even though
warning is not there.

Change-Id: I1bd494d205107d8b2a30d475a22c61a59b70985b
(cherry picked from commit 21ff71b0eb032d8ffd125ba7532ca2d29a206fb9)

test/ext/declarative/test_basic.py

index f178006fe963ff8b4d7090c590bac14607018703..a4afdf619c4d9c243972b9e3e8bbcef4e81fc835 100644 (file)
@@ -1159,7 +1159,7 @@ class DeclarativeTest(DeclarativeTestBase):
         from sqlalchemy.schema import Column, PrimaryKeyConstraint
 
         class AutoTable(object):
-            @declared_attr.cascading
+            @declared_attr
             def __tablename__(cls):
                 return cls.__name__