summaryrefslogtreecommitdiff
path: root/test/orm/test_joins.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-10-20 12:50:53 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-10-25 12:09:41 -0400
commit92aa35e7fc737de58c25d6c22bf1c48f6c4c714b (patch)
treef3c46d6d198441bb7f8ca7e8a7b2322b26491782 /test/orm/test_joins.py
parent605d0d905855684bfe4409532af98f336ae38f82 (diff)
downloadsqlalchemy-92aa35e7fc737de58c25d6c22bf1c48f6c4c714b.tar.gz
deprecation warnings: strings in loader options, join, with_parent
Repairs one in-library deprecation warning regarding mapper propagation of options raises maxfail to 250, as 25 is too low when we are trying to address many errors at once. the 25 was originally due to the fact that our fixtures would be broken after that many failures in most cases, which today should not be the case nearly as often. Change-Id: I26affddf42e2cae2aaf9561633e9b8cd431eb189
Diffstat (limited to 'test/orm/test_joins.py')
-rw-r--r--test/orm/test_joins.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/orm/test_joins.py b/test/orm/test_joins.py
index eb7dfd6f3..42f9b9aa1 100644
--- a/test/orm/test_joins.py
+++ b/test/orm/test_joins.py
@@ -226,8 +226,6 @@ class JoinTest(QueryTest, AssertsCompiledSQL):
[
"relationship",
"relationship_only",
- "string_relationship",
- "string_relationship_only",
"none",
"explicit",
"table_none",
@@ -235,11 +233,6 @@ class JoinTest(QueryTest, AssertsCompiledSQL):
],
[True, False],
)
- ).difference(
- [
- ("string_relationship", False),
- ("string_relationship_only", False),
- ]
),
argnames="onclause_type, use_legacy",
)
@@ -256,12 +249,8 @@ class JoinTest(QueryTest, AssertsCompiledSQL):
if onclause_type == "relationship":
q = q.join(Address, User.addresses)
- elif onclause_type == "string_relationship":
- q = q.join(Address, "addresses")
elif onclause_type == "relationship_only":
q = q.join(User.addresses)
- elif onclause_type == "string_relationship_only":
- q = q.join("addresses")
elif onclause_type == "none":
q = q.join(Address)
elif onclause_type == "explicit":