diff options
| author | cui fliter <imcusg@gmail.com> | 2022-06-04 18:16:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-04 12:16:27 +0200 |
| commit | 8131ef51ef2507238e9e9a32bc1cbec19dd3a600 (patch) | |
| tree | 1640cd3ff57e0462b754fa8132e65d926e889caf | |
| parent | 7f20d506937a92019d2c44fd7804ed0f17d6a482 (diff) | |
| download | sqlalchemy-8131ef51ef2507238e9e9a32bc1cbec19dd3a600.tar.gz | |
fix some typos (#8093)
Signed-off-by: cuishuang <imcusg@gmail.com>
| -rw-r--r-- | test/orm/inheritance/test_relationship.py | 2 | ||||
| -rw-r--r-- | test/orm/test_evaluator.py | 2 | ||||
| -rw-r--r-- | test/sql/test_deprecations.py | 2 | ||||
| -rw-r--r-- | test/sql/test_text.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/orm/inheritance/test_relationship.py b/test/orm/inheritance/test_relationship.py index 5f68f8034..014ded45d 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 33692505c..104e47ae8 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 f07410110..82a54d20a 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 6acc97c9c..805eacec6 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) |
