Skip to content

Commit 5077397

Browse files
committed
Remove unneeded checks
1 parent 8b8cd62 commit 5077397

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

test/test_emscripten.py

-14
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import contextlib
2-
import shutil
32
import subprocess
43
import sys
54
import textwrap
65

76
import pytest
87

9-
from cibuildwheel.ci import CIProvider, detect_ci_provider
108
from cibuildwheel.util.file import CIBW_CACHE_PATH
119

1210
from . import test_projects, utils
@@ -47,12 +45,6 @@ def test_pyodide_build(tmp_path, use_pyproject_toml):
4745
if sys.platform == "win32":
4846
pytest.skip("emsdk doesn't work correctly on Windows")
4947

50-
if not shutil.which("python3.12"):
51-
pytest.skip("Python 3.12 not installed")
52-
53-
if detect_ci_provider() == CIProvider.travis_ci:
54-
pytest.skip("Python 3.12 is just a non-working pyenv shim")
55-
5648
if use_pyproject_toml:
5749
basic_project.files["pyproject.toml"] = textwrap.dedent(
5850
"""
@@ -92,12 +84,6 @@ def test_pyodide_version_incompatible(tmp_path, capfd):
9284
if sys.platform == "win32":
9385
pytest.skip("emsdk doesn't work correctly on Windows")
9486

95-
if not shutil.which("python3.12"):
96-
pytest.skip("Python 3.12 not installed")
97-
98-
if detect_ci_provider() == CIProvider.travis_ci:
99-
pytest.skip("Python 3.12 is just a non-working pyenv shim")
100-
10187
basic_project.generate(tmp_path)
10288

10389
with pytest.raises(subprocess.CalledProcessError):

0 commit comments

Comments
 (0)