mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-22 08:32:09 -04:00
Remove unused .cascading from unit test for __table_cls__ feature
Two independent gerrits for04bbad660bandec1700ba29produce 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
This commit is contained in:
@@ -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__
|
||||
|
||||
|
||||
Reference in New Issue
Block a user