Backed out changeset e57017ad86ce -- logging should not be imported

This commit is contained in:
holger krekel 2014-08-01 08:13:44 +02:00
parent b1f8038abf
commit d6fc489b2b
1 changed files with 2 additions and 0 deletions

View File

@ -340,6 +340,8 @@ 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")