Adapt (logging) unittest
This commit is contained in:
parent
a8e3effb6c
commit
1ba219e0da
|
@ -346,8 +346,6 @@ class TestLoggingInteraction(object):
|
||||||
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