From: RobotScribe Date: Wed, 29 Apr 2020 14:20:10 +0000 (+0200) Subject: Fix pep8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ba1617a8d4960998c32010502dedb5f6473ff45;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix pep8 --- diff --git a/test/dialect/mysql/test_compiler.py b/test/dialect/mysql/test_compiler.py index 68dbd61329..636f9d5297 100644 --- a/test/dialect/mysql/test_compiler.py +++ b/test/dialect/mysql/test_compiler.py @@ -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",