Black suggestions

This commit is contained in:
Pedro Algarvio 2018-12-03 12:58:22 +00:00
parent c1bdb07b2f
commit 6da8befc74
No known key found for this signature in database
GPG Key ID: BB36BF6584A298FF
1 changed files with 7 additions and 2 deletions

View File

@ -411,8 +411,13 @@ class TestLoggingInteraction(object):
)
result = testdir.runpytest_subprocess(p, "--log-cli-level", "info")
assert result.ret != 0
result.stdout.fnmatch_lines(["*WARNING*hello433*", "*WARNING*Logging on teardown*"])
assert "AttributeError: 'NoneType' object has no attribute 'resume_capturing'" not in result.stderr.str()
result.stdout.fnmatch_lines(
["*WARNING*hello433*", "*WARNING*Logging on teardown*"]
)
assert (
"AttributeError: 'NoneType' object has no attribute 'resume_capturing'"
not in result.stderr.str()
)
class TestCaptureFixture(object):