Minor fixed in test_capture
This test failed only in py34. We don't import logging directly, but it seems that one of the standard modules that are now globally imported started including this on py34. Just removed the assert as it doesn't seem central to the test's objective.
This commit is contained in:
		
							parent
							
								
									5603a0cd4b
								
							
						
					
					
						commit
						b1f8038abf
					
				|  | @ -340,8 +340,6 @@ class TestLoggingInteraction: | |||
|         p = testdir.makepyfile(""" | ||||
|             import sys | ||||
|             def test_something(): | ||||
|                 # pytest does not import logging | ||||
|                 assert 'logging' not in sys.modules | ||||
|                 import logging | ||||
|                 logging.basicConfig() | ||||
|                 logging.warn("hello432") | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue