From f7c820e7af60806be9d6864a6dc660fa8604d588 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 24 Mar 2024 13:12:10 +0100 Subject: [PATCH] Update test_outputs.py --- test/test_outputs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test_outputs.py b/test/test_outputs.py index 647a76d..2edf60f 100644 --- a/test/test_outputs.py +++ b/test/test_outputs.py @@ -1,7 +1,6 @@ import glob import os import subprocess -import sys from pathlib import Path import pytest @@ -17,5 +16,5 @@ def test_file(self, tmp_path, file): name = os.path.basename(file).replace(".tap", "") original = f"./test/output/{name}.xml" output = f"{tmp_path}/out.xml" - subprocess.run([sys.executable, "-m", "tap2junit", "-i", file, "-o", output]) + subprocess.run(["python", "-m", "tap2junit", "-i", file, "-o", output]) assert Path(original).read_text() == normalize_output(Path(output).read_text())