summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing
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 /lib/sqlalchemy/testing
parent146fbf6d26a8c4140a47aeb03131fdf81007b9a2 (diff)
downloadsqlalchemy-pr/85.tar.gz
Fix many typos throughout the codebasepr/85
Found using: https://github.com/intgr/topy
Diffstat (limited to 'lib/sqlalchemy/testing')
-rw-r--r--lib/sqlalchemy/testing/assertions.py2
-rw-r--r--lib/sqlalchemy/testing/engines.py2
-rw-r--r--lib/sqlalchemy/testing/entities.py2
-rw-r--r--lib/sqlalchemy/testing/requirements.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/testing/assertions.py b/lib/sqlalchemy/testing/assertions.py
index edc9df047..9373e2dc4 100644
--- a/lib/sqlalchemy/testing/assertions.py
+++ b/lib/sqlalchemy/testing/assertions.py
@@ -172,7 +172,7 @@ def _assert_no_stray_pool_connections():
# so the error doesn't at least keep happening.
pool._refs.clear()
_STRAY_CONNECTION_FAILURES = 0
- assert False, "Stray conections in cleanup: %s" % err
+ assert False, "Stray connections in cleanup: %s" % err
def eq_(a, b, msg=None):
diff --git a/lib/sqlalchemy/testing/engines.py b/lib/sqlalchemy/testing/engines.py
index d27be3cde..1d1498620 100644
--- a/lib/sqlalchemy/testing/engines.py
+++ b/lib/sqlalchemy/testing/engines.py
@@ -57,7 +57,7 @@ class ConnectionKiller(object):
def _after_test_ctx(self):
# this can cause a deadlock with pg8000 - pg8000 acquires
- # prepared statment lock inside of rollback() - if async gc
+ # prepared statement lock inside of rollback() - if async gc
# is collecting in finalize_fairy, deadlock.
# not sure if this should be if pypy/jython only.
# note that firebird/fdb definitely needs this though
diff --git a/lib/sqlalchemy/testing/entities.py b/lib/sqlalchemy/testing/entities.py
index 9309abfd8..ccde77a7e 100644
--- a/lib/sqlalchemy/testing/entities.py
+++ b/lib/sqlalchemy/testing/entities.py
@@ -57,7 +57,7 @@ class ComparableEntity(BasicEntity):
_recursion_stack.add(id(self))
try:
- # pick the entity thats not SA persisted as the source
+ # pick the entity that's not SA persisted as the source
try:
self_key = sa.orm.attributes.instance_state(self).key
except sa.orm.exc.NO_STATE:
diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py
index 07b5697e2..04e8ad272 100644
--- a/lib/sqlalchemy/testing/requirements.py
+++ b/lib/sqlalchemy/testing/requirements.py
@@ -10,7 +10,7 @@ Provides decorators to mark tests requiring specific feature support from the
target database.
External dialect test suites should subclass SuiteRequirements
-to provide specific inclusion/exlusions.
+to provide specific inclusion/exclusions.
"""