Skip to content

Commit d99717e

Browse files
Skip running test on PyPy travis
1 parent d6e9573 commit d99717e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_full_request.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
OTHER DEALINGS IN THE SOFTWARE.
2020
2121
"""
22+
import platform
2223
import time
2324
from subprocess import Popen
2425

26+
import pytest
2527
import requests
2628

2729
import hug
@@ -37,6 +39,7 @@ def post(body, response):
3739
"""
3840

3941

42+
@pytest.mark.skipif(platform.python_implementation() == "PyPy", reason="Can't run hug CLI from travis PyPy")
4043
def test_hug_post(tmp_path):
4144
hug_test_file = (tmp_path / "hug_postable.py")
4245
hug_test_file.write_text(TEST_HUG_API)

0 commit comments

Comments
 (0)