summaryrefslogtreecommitdiff
path: root/test/orm/test_relationships.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-01-05 13:00:21 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-01-05 18:00:06 -0500
commite282257555ebc7abfeb92427a27b497baa4e1f09 (patch)
treee19657ad767dd8f8346bd7954d8e163519ec06c0 /test/orm/test_relationships.py
parent38e1ef63e929b344b01887d2e4c693c70093980f (diff)
downloadsqlalchemy-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/test_relationships.py')
-rw-r--r--test/orm/test_relationships.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/orm/test_relationships.py b/test/orm/test_relationships.py
index c447f44c1..3bc9667df 100644
--- a/test/orm/test_relationships.py
+++ b/test/orm/test_relationships.py
@@ -805,15 +805,15 @@ class CompositeSelfRefFKTest(fixtures.MappedTest, AssertsCompiledSQL):
this is a very unusual case::
- company employee
- ---------- ----------
- company_id <--- company_id ------+
- name ^ |
- +------------+
-
- emp_id <---------+
- name |
- reports_to_id ---+
+ company employee
+ ---------- ----------
+ company_id <--- company_id ------+
+ name ^ |
+ +------------+
+
+ emp_id <---------+
+ name |
+ reports_to_id ---+
employee joins to its sub-employees
both on reports_to_id, *and on company_id to itself*.