diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-05 13:00:21 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-05 18:00:06 -0500 |
commit | e282257555ebc7abfeb92427a27b497baa4e1f09 (patch) | |
tree | e19657ad767dd8f8346bd7954d8e163519ec06c0 /test/orm/inheritance/test_basic.py | |
parent | 38e1ef63e929b344b01887d2e4c693c70093980f (diff) | |
download | sqlalchemy-flake8_12.tar.gz |
- flake8 refactor - test_ormflake8_12
A full rewrite of all imports and pep8 formatting using zimports, black,
commits are broken into sections.
Directories included in this commit:
test/orm/ test/ext/
did not fully merge this one, needs to be done from scratch
Change-Id: I22b42d81bbc35c3a4a8ad4e48dbc78c363cdd4e3
(cherry picked from commit 380f75c051314e615694cdb9186e8ac7de128131)
Diffstat (limited to 'test/orm/inheritance/test_basic.py')
-rw-r--r-- | test/orm/inheritance/test_basic.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py index 81eb89f91..403afb6e1 100644 --- a/test/orm/inheritance/test_basic.py +++ b/test/orm/inheritance/test_basic.py @@ -1049,7 +1049,8 @@ class M2OUseGetTest(fixtures.MappedTest): # the 'primaryjoin' looks just like "Sub"'s "get" clause # (based on the Base id), and foreign_keys since that join # condition doesn't actually have any fks in it - # 'sub':relationship(Sub, primaryjoin=base.c.id==related.c.sub_id, + # 'sub':relationship(Sub, + # primaryjoin=base.c.id==related.c.sub_id, # foreign_keys=related.c.sub_id) # now we can use this: "sub": relationship(Sub) @@ -2018,7 +2019,7 @@ class DistinctPKTest(fixtures.MappedTest): r"On mapper Mapper\|Employee\|employees, " "primary key column 'persons.id' is being " "combined with distinct primary key column 'employees.eid' " - "in attribute 'id'. Use explicit properties to give " + "in attribute 'id'. Use explicit properties to give " "each column its own mapped attribute name.", self._do_test, True, |