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: Fix test (type error with Path)

Kilian Lieret4c0b3ed932a8
diff --git a/tests/conftest.py b/tests/conftest.py
index 2dcd05e4..4aee2dfc 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -83,7 +83,7 @@ def test_env_args(
subprocess.run(clone_cmd, check=True)
test_env_args = EnvironmentConfig(
deployment=DockerDeploymentConfig(image="python:3.11"),
- repo=LocalRepoConfig(path=local_repo_path),
+ repo=LocalRepoConfig(path=Path(local_repo_path)),
)
yield test_env_args
shutil.rmtree(local_repo_path)