summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
authorLele Gaifax <lele@metapensiero.it>2019-01-14 11:26:33 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-01-25 14:56:50 -0500
commit66e88d30a86fc37e2eaf7367e988ced3834e3250 (patch)
treeeaee9860ff866d88e398cb6531a988ccd8601e09 /test/sql
parentc9a31767e0d3a15ab45101aca21924cb4434c7b9 (diff)
downloadsqlalchemy-66e88d30a86fc37e2eaf7367e988ced3834e3250.tar.gz
Fix many spell glitches
This affects mostly docstrings, except in orm/events.py::dispose_collection() where one parameter gets renamed: given that the method is empty, it seemed reasonable to me to fix that too. Closes: #4440 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4440 Pull-request-sha: 779ed75acb6142e1f1daac467b5b14134529bb4b Change-Id: Ic0553fe97853054b09c2453af76d96363de6eb0e
Diffstat (limited to 'test/sql')
-rw-r--r--test/sql/test_defaults.py2
-rw-r--r--test/sql/test_join_rewriting.py2
-rw-r--r--test/sql/test_operators.py4
-rw-r--r--test/sql/test_types.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/test/sql/test_defaults.py b/test/sql/test_defaults.py
index 4ce8cc32f..c32fa1566 100644
--- a/test/sql/test_defaults.py
+++ b/test/sql/test_defaults.py
@@ -207,7 +207,7 @@ class DefaultTest(fixtures.TestBase):
)
f = sa.select([func.length("abcdef")], bind=db).scalar()
f2 = sa.select([func.length("abcdefghijk")], bind=db).scalar()
- # TODO: engine propigation across nested functions not working
+ # TODO: engine propagation across nested functions not working
currenttime = func.trunc(
currenttime, sa.literal_column("'DAY'"), bind=db, type_=sa.Date
)
diff --git a/test/sql/test_join_rewriting.py b/test/sql/test_join_rewriting.py
index 59bbc1104..e91557cd1 100644
--- a/test/sql/test_join_rewriting.py
+++ b/test/sql/test_join_rewriting.py
@@ -1,5 +1,5 @@
"""These tests are all about the "join rewriting" feature built
-to support SQLite's lack of right-nested joins. SQlite as of
+to support SQLite's lack of right-nested joins. SQLite as of
version 3.7.16 no longer has this limitation.
"""
diff --git a/test/sql/test_operators.py b/test/sql/test_operators.py
index 978d3101d..dd9f76cd6 100644
--- a/test/sql/test_operators.py
+++ b/test/sql/test_operators.py
@@ -2658,7 +2658,7 @@ class TupleTypingTest(fixtures.TestBase):
eq_(expr.clauses[1].type._type_affinity, String)
eq_(expr.clauses[2].type._type_affinity, LargeBinary()._type_affinity)
- def test_type_coersion_on_eq(self):
+ def test_type_coercion_on_eq(self):
a, b, c = (
column("a", Integer),
column("b", String),
@@ -2668,7 +2668,7 @@ class TupleTypingTest(fixtures.TestBase):
expr = t1 == (3, "hi", "there")
self._assert_types(expr.right)
- def test_type_coersion_on_in(self):
+ def test_type_coercion_on_in(self):
a, b, c = (
column("a", Integer),
column("b", String),
diff --git a/test/sql/test_types.py b/test/sql/test_types.py
index 4bd182c3e..dc75e1b14 100644
--- a/test/sql/test_types.py
+++ b/test/sql/test_types.py
@@ -966,7 +966,7 @@ class TypeCoerceCastTest(fixtures.TablesTest):
return bindparam(None, "x", type_=col.type, unique=True)
return None
- # ensure we evaulate the expression so that we can see
+ # ensure we evaluate the expression so that we can see
# the clone resets this info
stmt.compile()