summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 13:13:13 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 13:13:13 -0700
commit1caa7fafbd3c9870e1bf2b2ac623872447fc804e (patch)
tree509f53bfba7c3bbc6941653b82c7cefcb819247c /test/sql
parent146fbf6d26a8c4140a47aeb03131fdf81007b9a2 (diff)
downloadsqlalchemy-pr/85.tar.gz
Fix many typos throughout the codebasepr/85
Found using: https://github.com/intgr/topy
Diffstat (limited to 'test/sql')
-rw-r--r--test/sql/test_compiler.py2
-rw-r--r--test/sql/test_functions.py2
-rw-r--r--test/sql/test_generative.py2
-rw-r--r--test/sql/test_metadata.py2
-rw-r--r--test/sql/test_selectable.py2
-rw-r--r--test/sql/test_text.py8
-rw-r--r--test/sql/test_types.py2
7 files changed, 10 insertions, 10 deletions
diff --git a/test/sql/test_compiler.py b/test/sql/test_compiler.py
index b1c807df6..e96990c61 100644
--- a/test/sql/test_compiler.py
+++ b/test/sql/test_compiler.py
@@ -1701,7 +1701,7 @@ class SelectTest(fixtures.TestBase, AssertsCompiledSQL):
expected_test_params_list
)
- # check that params() doesnt modify original statement
+ # check that params() doesn't modify original statement
s = select([table1], or_(table1.c.myid == bindparam('myid'),
table2.c.otherid ==
bindparam('myotherid')))
diff --git a/test/sql/test_functions.py b/test/sql/test_functions.py
index 7fd7058b5..87c102a21 100644
--- a/test/sql/test_functions.py
+++ b/test/sql/test_functions.py
@@ -411,7 +411,7 @@ class ExecuteTest(fixtures.TestBase):
@testing.fails_on_everything_except('postgresql')
def test_as_from(self):
- # TODO: shouldnt this work on oracle too ?
+ # TODO: shouldn't this work on oracle too ?
x = func.current_date(bind=testing.db).execute().scalar()
y = func.current_date(bind=testing.db).select().execute().scalar()
z = func.current_date(bind=testing.db).scalar()
diff --git a/test/sql/test_generative.py b/test/sql/test_generative.py
index 5a65cecef..8a366f757 100644
--- a/test/sql/test_generative.py
+++ b/test/sql/test_generative.py
@@ -18,7 +18,7 @@ class TraversalTest(fixtures.TestBase, AssertsExecutionResults):
def setup_class(cls):
global A, B
- # establish two ficticious ClauseElements.
+ # establish two fictitious ClauseElements.
# define deep equality semantics as well as deep
# identity semantics.
class A(ClauseElement):
diff --git a/test/sql/test_metadata.py b/test/sql/test_metadata.py
index e4047872d..c078babff 100644
--- a/test/sql/test_metadata.py
+++ b/test/sql/test_metadata.py
@@ -541,7 +541,7 @@ class ToMetaDataTest(fixtures.TestBase, ComparesTables):
table_c.c.bar.onupdate.arg) == 'z'
assert isinstance(table2_c.c.id.default, Sequence)
- # constraints dont get reflected for any dialect right
+ # constraints don't get reflected for any dialect right
# now
if has_constraints:
diff --git a/test/sql/test_selectable.py b/test/sql/test_selectable.py
index a5693acd3..ed97bb37f 100644
--- a/test/sql/test_selectable.py
+++ b/test/sql/test_selectable.py
@@ -216,7 +216,7 @@ class SelectableTest(fixtures.TestBase, AssertsExecutionResults, AssertsCompiled
jj = select([table1.c.col1.label('bar_col1')])
jjj = join(table1, jj, table1.c.col1 == jj.c.bar_col1)
- # test column directly agaisnt itself
+ # test column directly against itself
assert jjj.corresponding_column(jjj.c.table1_col1) \
is jjj.c.table1_col1
diff --git a/test/sql/test_text.py b/test/sql/test_text.py
index ef63f9daa..98eff7604 100644
--- a/test/sql/test_text.py
+++ b/test/sql/test_text.py
@@ -63,7 +63,7 @@ class SelectCompositionTest(fixtures.TestBase, AssertsCompiledSQL):
)
def test_select_composition_four(self):
- # test that use_labels doesnt interfere with literal columns
+ # test that use_labels doesn't interfere with literal columns
self.assert_compile(
select(["column1", "column2", table1.c.myid], from_obj=table1,
use_labels=True),
@@ -72,7 +72,7 @@ class SelectCompositionTest(fixtures.TestBase, AssertsCompiledSQL):
)
def test_select_composition_five(self):
- # test that use_labels doesnt interfere
+ # test that use_labels doesn't interfere
# with literal columns that have textual labels
self.assert_compile(
select(["column1 AS foobar", "column2 AS hoho", table1.c.myid],
@@ -83,8 +83,8 @@ class SelectCompositionTest(fixtures.TestBase, AssertsCompiledSQL):
def test_select_composition_six(self):
# test that "auto-labeling of subquery columns"
- # doesnt interfere with literal columns,
- # exported columns dont get quoted
+ # doesn't interfere with literal columns,
+ # exported columns don't get quoted
self.assert_compile(
select(["column1 AS foobar", "column2 AS hoho", table1.c.myid],
from_obj=[table1]).select(),
diff --git a/test/sql/test_types.py b/test/sql/test_types.py
index e887e2a7e..19be4466d 100644
--- a/test/sql/test_types.py
+++ b/test/sql/test_types.py
@@ -571,7 +571,7 @@ class TypeCoerceCastTest(fixtures.TablesTest):
MyType = self.MyType
# test coerce from nulltype - e.g. use an object that
- # doens't match to a known type
+ # does't match to a known type
class MyObj(object):
def __str__(self):
return "THISISMYOBJ"