Backed out changeset e57017ad86ce -- logging should not be imported
This commit is contained in:
		
							parent
							
								
									b1f8038abf
								
							
						
					
					
						commit
						d6fc489b2b
					
				|  | @ -340,6 +340,8 @@ class TestLoggingInteraction: | ||||||
|         p = testdir.makepyfile(""" |         p = testdir.makepyfile(""" | ||||||
|             import sys |             import sys | ||||||
|             def test_something(): |             def test_something(): | ||||||
|  |                 # pytest does not import logging | ||||||
|  |                 assert 'logging' not in sys.modules | ||||||
|                 import logging |                 import logging | ||||||
|                 logging.basicConfig() |                 logging.basicConfig() | ||||||
|                 logging.warn("hello432") |                 logging.warn("hello432") | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue