From: cui fliter Date: Sat, 4 Jun 2022 10:16:27 +0000 (+0800) Subject: fix some typos (#8093) X-Git-Tag: rel_2_0_0b1~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8131ef51ef2507238e9e9a32bc1cbec19dd3a600;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix some typos (#8093) Signed-off-by: cuishuang --- diff --git a/test/orm/inheritance/test_relationship.py b/test/orm/inheritance/test_relationship.py index 5f68f80341..014ded45da 100644 --- a/test/orm/inheritance/test_relationship.py +++ b/test/orm/inheritance/test_relationship.py @@ -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. diff --git a/test/orm/test_evaluator.py b/test/orm/test_evaluator.py index 33692505cb..104e47ae8f 100644 --- a/test/orm/test_evaluator.py +++ b/test/orm/test_evaluator.py @@ -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") diff --git a/test/sql/test_deprecations.py b/test/sql/test_deprecations.py index f07410110b..82a54d20a1 100644 --- a/test/sql/test_deprecations.py +++ b/test/sql/test_deprecations.py @@ -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) diff --git a/test/sql/test_text.py b/test/sql/test_text.py index 6acc97c9ca..805eacec63 100644 --- a/test/sql/test_text.py +++ b/test/sql/test_text.py @@ -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)