summaryrefslogtreecommitdiff
path: root/test/orm
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-08-16 12:04:41 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2016-08-16 12:04:41 -0400
commit5b86ae5e8a50b9df54310312402fb2e12d742a2a (patch)
tree009589d0f5555cd9d710672b75c65172305aed9e /test/orm
parent9f41f64cd2e9cc9da8df55afc63bb9706ed41049 (diff)
parentfd164a6c849289b81f29059dda822c3d5902e40e (diff)
downloadsqlalchemy-5b86ae5e8a50b9df54310312402fb2e12d742a2a.tar.gz
Merge remote-tracking branch 'origin/pr/299'
Diffstat (limited to 'test/orm')
-rw-r--r--test/orm/test_expire.py4
-rw-r--r--test/orm/test_unitofworkv2.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/orm/test_expire.py b/test/orm/test_expire.py
index 63341abec..158957ebb 100644
--- a/test/orm/test_expire.py
+++ b/test/orm/test_expire.py
@@ -558,7 +558,7 @@ class ExpireTest(_fixtures.FixtureTest):
# fires off to load "addresses", but needs foreign key or primary key
# attributes in order to lazy load; hits those attributes, such as
# below it hits "u.id". "u.id" triggers full unexpire operation,
- # joinedloads addresses since lazy='joined'. this is all wihtin lazy load
+ # joinedloads addresses since lazy='joined'. this is all within lazy load
# which fires unconditionally; so an unnecessary joinedload (or
# lazyload) was issued. would prefer not to complicate lazyloading to
# "figure out" that the operation should be aborted right now.
@@ -1228,7 +1228,7 @@ class LifecycleTest(fixtures.MappedTest):
# we didn't insert a value for 'data',
# so its not in dict, but also when we hit it, it isn't
- # expired because there's no column default on it or anyhting like that
+ # expired because there's no column default on it or anything like that
assert 'data' not in d1.__dict__
def go():
eq_(d1.data, None)
diff --git a/test/orm/test_unitofworkv2.py b/test/orm/test_unitofworkv2.py
index bfc050e35..ae8454f6f 100644
--- a/test/orm/test_unitofworkv2.py
+++ b/test/orm/test_unitofworkv2.py
@@ -1395,7 +1395,7 @@ class RowswitchM2OTest(fixtures.MappedTest):
def test_set_none_replaces_scalar(self):
# this case worked before #3060, because a straight scalar
- # set of None shows up. Howver, as test_set_none_w_get
+ # set of None shows up. However, as test_set_none_w_get
# shows, we can't rely on this - the get of None will blow
# away the history.
A, B, C = self._fixture()