summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2020-03-23 18:55:02 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2020-03-23 18:55:02 +0000
commite6b6ec78e6d6f96537eaf542f469a7e88134e9fc (patch)
tree9f5958d2cf2e03a80af7e862746c6d016560bd65 /test/sql
parent01299b6bdaf91691923a99fd8c0241dac6abc432 (diff)
parent0a4f7f38ce2b878a4e59da74373938b64bbb6e92 (diff)
downloadsqlalchemy-e6b6ec78e6d6f96537eaf542f469a7e88134e9fc.tar.gz
Merge "Remove deprecated elements from selectable.py; remove lockmode"
Diffstat (limited to 'test/sql')
-rw-r--r--test/sql/test_deprecations.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/sql/test_deprecations.py b/test/sql/test_deprecations.py
index 93b29847f..d641c18e2 100644
--- a/test/sql/test_deprecations.py
+++ b/test/sql/test_deprecations.py
@@ -29,7 +29,6 @@ from sqlalchemy.engine import default
from sqlalchemy.sql import coercions
from sqlalchemy.sql import quoted_name
from sqlalchemy.sql import roles
-from sqlalchemy.sql import util as sql_util
from sqlalchemy.sql import visitors
from sqlalchemy.sql.selectable import SelectStatementGrouping
from sqlalchemy.testing import assert_raises
@@ -94,24 +93,6 @@ class DeprecationWarningsTest(fixtures.TestBase, AssertsCompiledSQL):
):
create_engine("mysql://", convert_unicode=True, module=mock.Mock())
- def test_join_condition_ignore_nonexistent_tables(self):
- m = MetaData()
- t1 = Table("t1", m, Column("id", Integer))
- t2 = Table(
- "t2", m, Column("id", Integer), Column("t1id", ForeignKey("t1.id"))
- )
- with testing.expect_deprecated(
- "The join_condition.ignore_nonexistent_tables "
- "parameter is deprecated"
- ):
- join_cond = sql_util.join_condition(
- t1, t2, ignore_nonexistent_tables=True
- )
-
- t1t2 = t1.join(t2)
-
- assert t1t2.onclause.compare(join_cond)
-
def test_empty_and_or(self):
with testing.expect_deprecated(
r"Invoking and_\(\) without arguments is deprecated, and "