summaryrefslogtreecommitdiff
path: root/test/sql/test_deprecations.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-01-25 11:36:54 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-01-25 11:36:54 -0500
commit5e48f8445c33a45ba36c9612f52fcaeca5edd27f (patch)
treebb5443231042b76204106dffc3c59446a2f93604 /test/sql/test_deprecations.py
parent9331613fc83c3b1b428dc7b8ef44ed4e9b1973da (diff)
downloadsqlalchemy-5e48f8445c33a45ba36c9612f52fcaeca5edd27f.tar.gz
Fix mssql quote schema warning
The deprecations review didn't include tests of identifier_preparer.quote.force for backends, so MSSQL slipped through. We have to fully reimplement the deprecation warning here so that it passes tests which are now enabled for all backends. Change-Id: I9d07e6766e16b5a35b7f7566f1daf94b04346270
Diffstat (limited to 'test/sql/test_deprecations.py')
-rw-r--r--test/sql/test_deprecations.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sql/test_deprecations.py b/test/sql/test_deprecations.py
index 2e4042a1b..7990cd56c 100644
--- a/test/sql/test_deprecations.py
+++ b/test/sql/test_deprecations.py
@@ -28,6 +28,8 @@ from sqlalchemy.testing import mock
class DeprecationWarningsTest(fixtures.TestBase):
+ __backend__ = True
+
def test_ident_preparer_force(self):
preparer = testing.db.dialect.identifier_preparer
preparer.quote("hi")