]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix pep8
authorRobotScribe <quentinso@theodo.fr>
Wed, 29 Apr 2020 14:20:10 +0000 (16:20 +0200)
committerRobotScribe <quentinso@theodo.fr>
Wed, 29 Apr 2020 14:20:10 +0000 (16:20 +0200)
test/dialect/mysql/test_compiler.py

index 68dbd61329bcf7e36b12f08a31a0db8bed17f8d5..636f9d52979fc9a3567fea3a0b352e1cd2e4b223 100644 (file)
@@ -371,9 +371,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
         )
 
         self.assert_compile(
-            table1.select(table1.c.myid == 7).with_for_update(
-                of=table1
-            ),
+            table1.select(table1.c.myid == 7).with_for_update(of=table1),
             "SELECT mytable.myid, mytable.name, mytable.description "
             "FROM mytable WHERE mytable.myid = %s "
             "FOR UPDATE OF mytable",
@@ -425,9 +423,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
         )
 
         self.assert_compile(
-            table1.select(table1.c.myid == 7).with_for_update(
-                nowait=True
-            ),
+            table1.select(table1.c.myid == 7).with_for_update(nowait=True),
             "SELECT mytable.myid, mytable.name, mytable.description "
             "FROM mytable WHERE mytable.myid = %s "
             "FOR UPDATE NOWAIT",