mark encoding test as xfail also on py2
This commit is contained in:
parent
9aaf0fd340
commit
400b51caf6
|
@ -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*',
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue