summaryrefslogtreecommitdiff
path: root/test/ext/declarative/test_basic.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-09-28 13:05:56 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-09-28 13:05:56 -0400
commit21ff71b0eb032d8ffd125ba7532ca2d29a206fb9 (patch)
tree85ce22ebd372391e0c7af585731a0b1870826095 /test/ext/declarative/test_basic.py
parent21bf37f6e429276aa8cc60c1aa756e4bafa74b3e (diff)
downloadsqlalchemy-21ff71b0eb032d8ffd125ba7532ca2d29a206fb9.tar.gz
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
Diffstat (limited to 'test/ext/declarative/test_basic.py')
-rw-r--r--test/ext/declarative/test_basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ext/declarative/test_basic.py b/test/ext/declarative/test_basic.py
index 1b2649abf..5d1655e87 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__