TST Move run_docker test outside of pyodide-build (#4463)

It is weird that test_run_docker is inside pyodide-build. This PR moves the
run_docker test file to tools directory. Maybe it is not the best place to put
this test file, but it is at least better than pyodide-build.
This commit is contained in:
Gyeongjae Choi 2024-02-03 03:46:04 +09:00 committed by GitHub
parent eb6e03e56c
commit d1628de4ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 7 deletions

View File

@ -1,13 +1,7 @@
import os
import subprocess import subprocess
from pathlib import Path from pathlib import Path
if "PYODIDE_ROOT" in os.environ: PYODIDE_ROOT = Path(__file__).parent.parent.parent
PYODIDE_ROOT = Path(os.environ["PYODIDE_ROOT"])
else:
from pyodide_build import build_env
PYODIDE_ROOT = build_env.search_pyodide_root(Path.cwd())
def test_run_docker_script(): def test_run_docker_script():