Black suggestions
This commit is contained in:
		
							parent
							
								
									c1bdb07b2f
								
							
						
					
					
						commit
						6da8befc74
					
				|  | @ -411,8 +411,13 @@ class TestLoggingInteraction(object): | ||||||
|         ) |         ) | ||||||
|         result = testdir.runpytest_subprocess(p, "--log-cli-level", "info") |         result = testdir.runpytest_subprocess(p, "--log-cli-level", "info") | ||||||
|         assert result.ret != 0 |         assert result.ret != 0 | ||||||
|         result.stdout.fnmatch_lines(["*WARNING*hello433*", "*WARNING*Logging on teardown*"]) |         result.stdout.fnmatch_lines( | ||||||
|         assert "AttributeError: 'NoneType' object has no attribute 'resume_capturing'" not in result.stderr.str() |             ["*WARNING*hello433*", "*WARNING*Logging on teardown*"] | ||||||
|  |         ) | ||||||
|  |         assert ( | ||||||
|  |             "AttributeError: 'NoneType' object has no attribute 'resume_capturing'" | ||||||
|  |             not in result.stderr.str() | ||||||
|  |         ) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class TestCaptureFixture(object): | class TestCaptureFixture(object): | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue