From: Mike Bayer Date: Thu, 28 Sep 2017 17:05:56 +0000 (-0400) Subject: Remove unused .cascading from unit test for __table_cls__ feature X-Git-Tag: rel_1_1_15~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=865d915d0e3b2cf774f6dcefa0469e50f22a8a2d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Remove unused .cascading from unit test for __table_cls__ feature 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) --- diff --git a/test/ext/declarative/test_basic.py b/test/ext/declarative/test_basic.py index f178006fe9..a4afdf619c 100644 --- a/test/ext/declarative/test_basic.py +++ b/test/ext/declarative/test_basic.py @@ -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__