diff options
author | Andras Tim <andras.tim@gmail.com> | 2017-07-17 01:25:09 +0200 |
---|---|---|
committer | Andras Tim <andras.tim@gmail.com> | 2017-07-17 01:44:22 +0200 |
commit | 8f3eb6dfc7d5e9ceca694ccf2c4906bbea969faf (patch) | |
tree | ec6cf7041dd483bdccdc49395a7a1b68c2bdba47 /testing/test_session.py | |
parent | b226454582f8fbf083e31cc54e67c52e36176e53 (diff) | |
download | pytest-8f3eb6dfc7d5e9ceca694ccf2c4906bbea969faf.tar.gz |
Fixed E261 flake8 errors
at least two spaces before inline comment
Diffstat (limited to 'testing/test_session.py')
-rw-r--r-- | testing/test_session.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/test_session.py b/testing/test_session.py index d08f7b3e2..1cb0bb285 100644 --- a/testing/test_session.py +++ b/testing/test_session.py @@ -117,7 +117,7 @@ class SessionTests(object): passed, skipped, failed = reprec.listoutcomes() assert len(failed) == 1 out = failed[0].longrepr.reprcrash.message - assert out.find("""[Exception("Ha Ha fooled you, I'm a broken repr().") raised in repr()]""") != -1 #' + assert out.find("""[Exception("Ha Ha fooled you, I'm a broken repr().") raised in repr()]""") != -1 # ' def test_skip_file_by_conftest(self, testdir): testdir.makepyfile(conftest=""" @@ -186,7 +186,7 @@ class TestNewSession(SessionTests): started = reprec.getcalls("pytest_collectstart") finished = reprec.getreports("pytest_collectreport") assert len(started) == len(finished) - assert len(started) == 7 # XXX extra TopCollector + assert len(started) == 7 # XXX extra TopCollector colfail = [x for x in finished if x.failed] assert len(colfail) == 1 |