Skip to content
Snippets Groups Projects
Commit 5812accc authored by Daniel Skýpala's avatar Daniel Skýpala
Browse files

Test: Remove lock file

parent 834d6a0e
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,10 @@ def test_task_commit(task_path: str, commit_hash: str, workdir="_test") -> None:
cwd=os.path.join(config.REPO_DIR, workdir, task_path),
)
lock = os.path.join(outdir, ".pisek_lock")
if os.path.exists(lock):
os.unlink(lock)
normal_code = run_pisek(["--all-inputs", "--plain"], "output").returncode
strict_code = run_pisek(["--strict", "--all-inputs", "--plain"], "strict_output").returncode
with open(os.path.join(outdir, "status"), "w") as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment