mark encoding test as xfail also on py2

This commit is contained in:
holger krekel 2014-01-22 22:18:33 +01:00
parent 9aaf0fd340
commit 400b51caf6
1 changed files with 2 additions and 2 deletions

View File

@ -494,7 +494,7 @@ def test_capture_early_option_parsing(testdir):
assert result.ret == 0 assert result.ret == 0
assert 'hello19' in result.stdout.str() assert 'hello19' in result.stdout.str()
@pytest.mark.xfail(sys.version_info >= (3, 0), reason='encoding issues') @pytest.mark.xfail(reason='encoding issues')
def test_capture_binary_output(testdir): def test_capture_binary_output(testdir):
testdir.makepyfile(""" testdir.makepyfile("""
import pytest import pytest
@ -515,4 +515,4 @@ def test_capture_binary_output(testdir):
result.stdout.fnmatch_lines([ result.stdout.fnmatch_lines([
'*2 passed*', '*2 passed*',
]) ])