Skip to content

Commit bdb5c3a

Browse files
committed
Fix pytest skip pypy decorators
1 parent f4e6a18 commit bdb5c3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_wsdl_soap.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def test_no_content_type():
166166
assert result == 120.123
167167

168168

169-
@pytest.mark.skipif(platform.python_implementation == 'PyPy',
169+
@pytest.mark.skipif(platform.python_implementation() == 'PyPy',
170170
reason="Fails on PyPy")
171171
def test_wrong_content():
172172
data = """
@@ -191,7 +191,7 @@ def test_wrong_content():
191191
assert data == exc.value.content
192192

193193

194-
@pytest.mark.skipif(platform.python_implementation == 'PyPy',
194+
@pytest.mark.skipif(platform.python_implementation() == 'PyPy',
195195
reason="Fails on PyPy")
196196
def test_wrong_no_unicode_content():
197197
data = """
@@ -217,7 +217,7 @@ def test_wrong_no_unicode_content():
217217
assert data == exc.value.content
218218

219219

220-
@pytest.mark.skipif(platform.python_implementation == 'PyPy',
220+
@pytest.mark.skipif(platform.python_implementation() == 'PyPy',
221221
reason="Fails on PyPy")
222222
def test_http_error():
223223
data = """

0 commit comments

Comments
 (0)