summaryrefslogtreecommitdiff
path: root/test/orm/test_relationships.py
diff options
context:
space:
mode:
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*.