summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-07-08 14:41:48 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2020-07-08 14:41:48 -0400
commita438952d60d50748c22c51fd64317f523b735865 (patch)
treecb43bf71c7143575b215007ad1ae4b549894c5a9
parent4b2a9480dcfab065183aa703de700ad102d5e29b (diff)
parent5ca8d8494585ce77f971dfb1d71526a71b7aa1ae (diff)
downloadsqlalchemy-a438952d60d50748c22c51fd64317f523b735865.tar.gz
Merge remote-tracking branch 'origin/pr/5410'
Change-Id: Ib052efc33ddd58d38e16c0cc721abee668b861d5
-rw-r--r--test/sql/test_deprecations.py8
-rw-r--r--test/sql/test_quote.py4
2 files changed, 8 insertions, 4 deletions
diff --git a/test/sql/test_deprecations.py b/test/sql/test_deprecations.py
index 0210f4d41..e68b1398b 100644
--- a/test/sql/test_deprecations.py
+++ b/test/sql/test_deprecations.py
@@ -616,7 +616,9 @@ class SelectableTest(fixtures.TestBase, AssertsCompiledSQL):
class QuoteTest(fixtures.TestBase, AssertsCompiledSQL):
__dialect__ = "default"
- def test_literal_column_label_embedded_select_samename_explcit_quote(self):
+ def test_literal_column_label_embedded_select_samename_explicit_quote(
+ self,
+ ):
col = sql.literal_column("NEEDS QUOTES").label(
quoted_name("NEEDS QUOTES", True)
)
@@ -630,7 +632,9 @@ class QuoteTest(fixtures.TestBase, AssertsCompiledSQL):
'(SELECT NEEDS QUOTES AS "NEEDS QUOTES") AS anon_1',
)
- def test_literal_column_label_embedded_select_diffname_explcit_quote(self):
+ def test_literal_column_label_embedded_select_diffname_explicit_quote(
+ self,
+ ):
col = sql.literal_column("NEEDS QUOTES").label(
quoted_name("NEEDS QUOTES_", True)
)
diff --git a/test/sql/test_quote.py b/test/sql/test_quote.py
index 627626994..b4d97a1b9 100644
--- a/test/sql/test_quote.py
+++ b/test/sql/test_quote.py
@@ -729,7 +729,7 @@ class QuoteTest(fixtures.TestBase, AssertsCompiledSQL):
'"NEEDS QUOTES_") AS anon_1',
)
- def test_literal_column_label_alias_samename_explcit_quote(self):
+ def test_literal_column_label_alias_samename_explicit_quote(self):
col = sql.literal_column("NEEDS QUOTES").label(
quoted_name("NEEDS QUOTES", True)
)
@@ -740,7 +740,7 @@ class QuoteTest(fixtures.TestBase, AssertsCompiledSQL):
'(SELECT NEEDS QUOTES AS "NEEDS QUOTES") AS anon_1',
)
- def test_literal_column_label_alias_diffname_explcit_quote(self):
+ def test_literal_column_label_alias_diffname_explicit_quote(self):
col = sql.literal_column("NEEDS QUOTES").label(
quoted_name("NEEDS QUOTES_", True)
)