Fixed E225 flake8 errors

missing whitespace around operator
This commit is contained in:
Andras Tim
2017-07-17 01:25:08 +02:00
parent 3fabc4d219
commit 2e8caefcab
20 changed files with 57 additions and 57 deletions

View File

@@ -78,7 +78,7 @@ def test_source_putaround_simple():
x = 42
else:
x = 23""")
assert str(source)=="""\
assert str(source) == """\
try:
raise ValueError
except ValueError:
@@ -291,7 +291,7 @@ class TestSourceParsingAndCompiling(object):
def check(comp, name):
co = comp(self.source, name)
if not name:
expected = "codegen %s:%d>" %(mypath, mylineno+2+2)
expected = "codegen %s:%d>" % (mypath, mylineno+2+2)
else:
expected = "codegen %r %s:%d>" % (name, mypath, mylineno+2+2)
fn = co.co_filename