diff options
author | Andras Tim <andras.tim@gmail.com> | 2017-07-17 01:25:08 +0200 |
---|---|---|
committer | Andras Tim <andras.tim@gmail.com> | 2017-07-17 01:44:22 +0200 |
commit | 2e8caefcab33942a754ee7ddf7697fe487a4367a (patch) | |
tree | a18b77c24913758cffbf15ecfa461ccba3900ded /testing/code | |
parent | 3fabc4d21918a0927a1717e2616862400bde5440 (diff) | |
download | pytest-2e8caefcab33942a754ee7ddf7697fe487a4367a.tar.gz |
Fixed E225 flake8 errors
missing whitespace around operator
Diffstat (limited to 'testing/code')
-rw-r--r-- | testing/code/test_source.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/code/test_source.py b/testing/code/test_source.py index 6a9b458ec..dc48b29c3 100644 --- a/testing/code/test_source.py +++ b/testing/code/test_source.py @@ -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 |