diff options
| author | RamonWill <ramonwilliams@hotmail.co.uk> | 2020-07-04 14:30:19 +0100 |
|---|---|---|
| committer | RamonWill <ramonwilliams@hotmail.co.uk> | 2020-07-04 14:30:19 +0100 |
| commit | 5ca8d8494585ce77f971dfb1d71526a71b7aa1ae (patch) | |
| tree | eb28f6323d00a4a07d771b1912823cdf58e23b2d /test/sql | |
| parent | b66e47b353459fe118575785708b681d893ce4a5 (diff) | |
| download | sqlalchemy-5ca8d8494585ce77f971dfb1d71526a71b7aa1ae.tar.gz | |
resolves #5333 typo correction 'explcit' should be 'explicit'.
Diffstat (limited to 'test/sql')
| -rw-r--r-- | test/sql/test_deprecations.py | 8 | ||||
| -rw-r--r-- | test/sql/test_quote.py | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/test/sql/test_deprecations.py b/test/sql/test_deprecations.py index 4f018fcc9..e9f5bbcbd 100644 --- a/test/sql/test_deprecations.py +++ b/test/sql/test_deprecations.py @@ -533,7 +533,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) ) @@ -547,7 +549,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) ) |
