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:
Bruno Oliveira 2014-07-31 19:52:08 -03:00
parent 5603a0cd4b
commit b1f8038abf
1 changed files with 0 additions and 2 deletions

View File

@ -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")