Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

CI: Clean up after cloning repository

Kilian Lieret6a4b3fa6ac67
diff --git a/tests/conftest.py b/tests/conftest.py
index e9f43aa5..1d3fab83 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,6 +1,7 @@
from __future__ import annotations
import json
+import shutil
import subprocess
import sys
from collections.abc import Generator
@@ -86,6 +87,7 @@ def test_env_args(
# Can happen if this fixture never runs because we only do a partial
# test run
pass
+ shutil.rmtree(local_repo_path)
@contextmanager