Skip to content

Commit 3900879

Browse files
committed
Mark test_py2_unicode as xfail in PyPy2 on Windows
pytest-dev#2905
1 parent b11640c commit 3900879

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing/test_warnings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ def test_func(fix):
144144
@pytest.mark.skipif(sys.version_info >= (3, 0),
145145
reason='warnings message is broken as it is not str instance')
146146
def test_py2_unicode(testdir, pyfile_with_warnings):
147+
if getattr(sys, "pypy_version_info", ())[:2] == (5, 9) and sys.platform.startswith('win'):
148+
pytest.xfail("fails with unicode error on PyPy2 5.9 and Windows (#2905)")
147149
testdir.makepyfile('''
148150
# -*- coding: utf8 -*-
149151
import warnings

0 commit comments

Comments
 (0)