From 400b51caf65c54e8d72ce60f929124add30c4fd1 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Wed, 22 Jan 2014 22:18:33 +0100 Subject: [PATCH] mark encoding test as xfail also on py2 --- testing/test_capture.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_capture.py b/testing/test_capture.py index cd1f2d865..6f5415457 100644 --- a/testing/test_capture.py +++ b/testing/test_capture.py @@ -494,7 +494,7 @@ def test_capture_early_option_parsing(testdir): assert result.ret == 0 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): testdir.makepyfile(""" import pytest @@ -515,4 +515,4 @@ def test_capture_binary_output(testdir): result.stdout.fnmatch_lines([ '*2 passed*', ]) - +