condition for python3 of the xfailing test for 412

This commit is contained in:
Ronny Pfannschmidt 2014-03-27 14:01:38 +01:00
parent b18040337a
commit 2b2c1e5b7b
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ def test_capture_conftest_runtest_setup(testdir):
assert 'hello19' not in result.stdout.str()
@pytest.mark.xfail(reason='demonstrate #412')
@pytest.mark.xfail(sys.version_info>=(3,), reason='demonstrate #412')
def test_capture_badoutput(testdir):
testdir.makepyfile("""
import os