diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-06-20 18:47:28 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-06-20 18:47:28 -0400 |
| commit | a1bbf3a005677c1371b02c54343f5407747e336d (patch) | |
| tree | f3df6031a7ad52e74c1c64b969d0c2a71ea85442 /test/ext | |
| parent | d7f467fcd531ff4b2f7fbe07fa24a2b88556c855 (diff) | |
| download | sqlalchemy-a1bbf3a005677c1371b02c54343f5407747e336d.tar.gz | |
- Additional checks have been added for the case where an inheriting
mapper is implicitly combining one of its column-based attributes
with that of the parent, where those columns normally don't necessarily
share the same value. This is an extension of an existing check that
was added via :ticket:`1892`; however this new check emits only a
warning, instead of an exception, to allow for applications that may
be relying upon the existing behavior.
fixes #3042
Diffstat (limited to 'test/ext')
| -rw-r--r-- | test/ext/declarative/test_inheritance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ext/declarative/test_inheritance.py b/test/ext/declarative/test_inheritance.py index 57ab027e1..edff4421e 100644 --- a/test/ext/declarative/test_inheritance.py +++ b/test/ext/declarative/test_inheritance.py @@ -76,7 +76,7 @@ class DeclarativeInheritanceTest(DeclarativeTestBase): class Bar(Foo): __tablename__ = 'bar' - id = Column('id', Integer, primary_key=True) + bar_id = Column('id', Integer, primary_key=True) foo_id = Column('foo_id', Integer) __mapper_args__ = {'inherit_condition': foo_id == Foo.id} |
