summaryrefslogtreecommitdiff
path: root/test/orm/inheritance/test_relationship.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/inheritance/test_relationship.py')
-rw-r--r--test/orm/inheritance/test_relationship.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/orm/inheritance/test_relationship.py b/test/orm/inheritance/test_relationship.py
index 779239015..925bf7dd0 100644
--- a/test/orm/inheritance/test_relationship.py
+++ b/test/orm/inheritance/test_relationship.py
@@ -2901,14 +2901,14 @@ class BetweenSubclassJoinWExtraJoinedLoad(
) if autoalias else nullcontext():
self.assert_compile(
q,
- "SELECT people.type AS people_type, engineers.id AS "
+ "SELECT engineers.id AS "
"engineers_id, "
- "people.id AS people_id, "
+ "people.id AS people_id, people.type AS people_type, "
"engineers.primary_language AS engineers_primary_language, "
"engineers.manager_id AS engineers_manager_id, "
- "people_1.type AS people_1_type, "
"managers_1.id AS managers_1_id, "
- "people_1.id AS people_1_id, seen_1.id AS seen_1_id, "
+ "people_1.id AS people_1_id, people_1.type AS people_1_type, "
+ "seen_1.id AS seen_1_id, "
"seen_1.timestamp AS seen_1_timestamp, "
"seen_2.id AS seen_2_id, "
"seen_2.timestamp AS seen_2_timestamp "