]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix some typos (#8093)
authorcui fliter <imcusg@gmail.com>
Sat, 4 Jun 2022 10:16:27 +0000 (18:16 +0800)
committerGitHub <noreply@github.com>
Sat, 4 Jun 2022 10:16:27 +0000 (12:16 +0200)
Signed-off-by: cuishuang <imcusg@gmail.com>
test/orm/inheritance/test_relationship.py
test/orm/test_evaluator.py
test/sql/test_deprecations.py
test/sql/test_text.py

index 5f68f80341f1fe651ea17abc45f175bd99c7bf45..014ded45da3550aaff212860484a6e3189928eec 100644 (file)
@@ -2887,7 +2887,7 @@ class BetweenSubclassJoinWExtraJoinedLoad(
         sess = fixture_session()
 
         if autoalias:
-            # eager join is both from Enginer->LastSeen as well as
+            # eager join is both from Engineer->LastSeen as well as
             # Manager->LastSeen.  In the case of Manager->LastSeen,
             # Manager is internally aliased, and comes to JoinedEagerLoader
             # with no "parent" entity but an adapter.
index 33692505cbd8f978a719d51c021ce06feb69e3c2..104e47ae8f5544c8d61f34228ca92fb52b44bef3 100644 (file)
@@ -245,7 +245,7 @@ class EvaluateTest(fixtures.MappedTest):
             ],
         )
 
-    def test_mulitple_expressions(self):
+    def test_multiple_expressions(self):
         User = self.classes.User
 
         evaluator = compiler.process(User.id > 5, User.name == "ed")
index f07410110b0603d822f721ab02e1de3c69a003ad..82a54d20a1f5206abc5b915cb9266784c41307cf 100644 (file)
@@ -812,7 +812,7 @@ class LegacyOperatorTest(AssertsCompiledSQL, fixtures.TestBase):
     def test_issue_5435_operators_precedence(
         self, _modern, _legacy, _in_precedence
     ):
-        # (modern, legacy, in_precendence)
+        # (modern, legacy, in_precedence)
         # core operators
         assert hasattr(operators, _modern)
         assert hasattr(operators, _legacy)
index 6acc97c9caad6093cae8295323fae31d69fb6e6a..805eacec6327087c08e954e71b9317096bd79867 100644 (file)
@@ -1024,7 +1024,7 @@ class OrderByLabelResolutionTest(fixtures.TestBase, AssertsCompiledSQL):
             '"SUM(ABC)_"',
         )
 
-    def test_order_by_literal_col_quoting_one_explict_quote(self):
+    def test_order_by_literal_col_quoting_one_explicit_quote(self):
         col = literal_column("SUM(ABC)").label(quoted_name("SUM(ABC)", True))
         tbl = table("my_table")
         query = select(col).select_from(tbl).order_by(col)