From 6da8befc74b9671123e861bcb343179fd5aa5edf Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Mon, 3 Dec 2018 12:58:22 +0000 Subject: [PATCH] Black suggestions --- testing/test_capture.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/testing/test_capture.py b/testing/test_capture.py index 2e1912f2e..d44b58ee0 100644 --- a/testing/test_capture.py +++ b/testing/test_capture.py @@ -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):