summaryrefslogtreecommitdiff
path: root/test/sql/test_update.py
diff options
context:
space:
mode:
authorDiana Clarke <diana.joan.clarke@gmail.com>2013-03-30 01:39:40 -0400
committerDiana Clarke <diana.joan.clarke@gmail.com>2013-03-30 01:39:40 -0400
commit2fa9dd6bb878573c970aeadad978a19053e550d1 (patch)
tree773a754f0e37b943095829c5df9446c357189703 /test/sql/test_update.py
parent2ffc92558864dac683907c5166046c59a1cd232c (diff)
downloadsqlalchemy-2fa9dd6bb878573c970aeadad978a19053e550d1.tar.gz
whitespace
Diffstat (limited to 'test/sql/test_update.py')
-rw-r--r--test/sql/test_update.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sql/test_update.py b/test/sql/test_update.py
index 607666e99..a8df86cd2 100644
--- a/test/sql/test_update.py
+++ b/test/sql/test_update.py
@@ -97,7 +97,7 @@ class UpdateTest(_UpdateFromTestBase, fixtures.TablesTest, AssertsCompiledSQL):
table1 = self.tables.mytable
self.assert_compile(
- update(table1,
+ update(table1,
whereclause=table1.c.name == bindparam('crit'),
values={table1.c.name: 'hi'}),
'UPDATE mytable SET name=:name WHERE mytable.name = :crit',
@@ -119,7 +119,7 @@ class UpdateTest(_UpdateFromTestBase, fixtures.TablesTest, AssertsCompiledSQL):
def test_update_7(self):
table1 = self.tables.mytable
-
+
self.assert_compile(
update(table1, table1.c.myid == 12, values={table1.c.myid: 9}),
'UPDATE mytable '
@@ -165,7 +165,7 @@ class UpdateTest(_UpdateFromTestBase, fixtures.TablesTest, AssertsCompiledSQL):
}
self.assert_compile(update(table1,
(table1.c.myid == func.hoho(4)) &
- (table1.c.name == literal('foo') +
+ (table1.c.name == literal('foo') +
table1.c.name + literal('lala')),
values=values),
'UPDATE mytable '