]> 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:05:56 +0000 (13:05 -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

test/ext/declarative/test_basic.py

index 1b2649abfe3c53ce7e9daa8f013444a5be49a8d5..5d1655e873c8e22a25432bcd0827c86072849403 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__