summaryrefslogtreecommitdiff
path: root/test
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
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')
-rw-r--r--test/orm/inheritance/test_assorted_poly.py2
-rw-r--r--test/orm/inheritance/test_basic.py6
-rw-r--r--test/orm/test_expire.py2
-rw-r--r--test/orm/test_transaction.py2
-rw-r--r--test/requirements.py2
-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
9 files changed, 12 insertions, 12 deletions
diff --git a/test/orm/inheritance/test_assorted_poly.py b/test/orm/inheritance/test_assorted_poly.py
index 75d219b49..ef09211a7 100644
--- a/test/orm/inheritance/test_assorted_poly.py
+++ b/test/orm/inheritance/test_assorted_poly.py
@@ -1535,7 +1535,7 @@ class ManyToManyPolyTest(fixtures.MappedTest):
def test_pjoin_compile(self):
"""test that remote_side columns in the secondary join table
- arent attempted to be matched to the target polymorphic
+ aren't attempted to be matched to the target polymorphic
selectable"""
class BaseItem(object):
diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py
index ab6116256..6c9da92d2 100644
--- a/test/orm/inheritance/test_basic.py
+++ b/test/orm/inheritance/test_basic.py
@@ -384,7 +384,7 @@ class PolymorphicOnNotLocalTest(fixtures.MappedTest):
polymorphic_identity=0,
)
- def test_polymorpic_on_not_in_with_poly(self):
+ def test_polymorphic_on_not_in_with_poly(self):
t2, t1 = self.tables.t2, self.tables.t1
Parent = self.classes.Parent
@@ -2300,7 +2300,7 @@ class OverrideColKeyTest(fixtures.MappedTest):
)
def test_plain_descriptor(self):
- """test that descriptors prevent inheritance from propigating
+ """test that descriptors prevent inheritance from propagating
properties to subclasses."""
class Base(object):
@@ -2321,7 +2321,7 @@ class OverrideColKeyTest(fixtures.MappedTest):
assert sess.query(Sub).one().data == "im the data"
def test_custom_descriptor(self):
- """test that descriptors prevent inheritance from propigating
+ """test that descriptors prevent inheritance from propagating
properties to subclasses."""
class MyDesc(object):
diff --git a/test/orm/test_expire.py b/test/orm/test_expire.py
index 03ef7b03a..e8c05fa79 100644
--- a/test/orm/test_expire.py
+++ b/test/orm/test_expire.py
@@ -891,7 +891,7 @@ class ExpireTest(_fixtures.FixtureTest):
# scalar attributes have their own load
self.assert_sql_count(testing.db, go, 1)
- # ideally, this was already loaded, but we arent
+ # ideally, this was already loaded, but we aren't
# doing it that way right now
# self.assert_sql_count(testing.db, go, 0)
diff --git a/test/orm/test_transaction.py b/test/orm/test_transaction.py
index 5c8ed4732..913c22321 100644
--- a/test/orm/test_transaction.py
+++ b/test/orm/test_transaction.py
@@ -566,7 +566,7 @@ class SessionTransactionTest(fixtures.RemovesEvents, FixtureTest):
# trans is now closed
eq_(trans._state, _session.CLOSED)
- # outermost transction is new
+ # outermost transaction is new
is_not_(session.transaction, trans)
# outermost is active
diff --git a/test/requirements.py b/test/requirements.py
index b9d61ed56..c7c7206fc 100644
--- a/test/requirements.py
+++ b/test/requirements.py
@@ -167,7 +167,7 @@ class DefaultRequirements(SuiteRequirements):
@property
def no_quoting_special_bind_names(self):
- """Target database will quote bound paramter names, doesn't support
+ """Target database will quote bound parameter names, doesn't support
EXPANDING"""
return skip_if(["oracle"])
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()