File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2+ import platform
23
34import pytest
45from lxml import etree
@@ -165,6 +166,8 @@ def test_no_content_type():
165166 assert result == 120.123
166167
167168
169+ @pytest .mark .skipif (platform .python_implementation == 'PyPy' ,
170+ reason = "Fails on PyPy" )
168171def test_wrong_content ():
169172 data = """
170173 The request is answered something unexpected,
@@ -188,6 +191,8 @@ def test_wrong_content():
188191 assert data == exc .value .content
189192
190193
194+ @pytest .mark .skipif (platform .python_implementation == 'PyPy' ,
195+ reason = "Fails on PyPy" )
191196def test_wrong_no_unicode_content ():
192197 data = """
193198 The request is answered something unexpected,
@@ -212,6 +217,8 @@ def test_wrong_no_unicode_content():
212217 assert data == exc .value .content
213218
214219
220+ @pytest .mark .skipif (platform .python_implementation == 'PyPy' ,
221+ reason = "Fails on PyPy" )
215222def test_http_error ():
216223 data = """
217224 Unauthorized!
You can’t perform that action at this time.
0 commit comments