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]

Exclude testing django.yaml as env setup (#650)

Kilian Lieret01e2ebcdb566
diff --git a/tests/test_env.py b/tests/test_env.py
index e2eecaea..99e0c75b 100644
--- a/tests/test_env.py
+++ b/tests/test_env.py
@@ -141,6 +141,8 @@ def test_execute_environment_default(test_env_args):
# Make sure we don't use persistent container, else we might have already installed the conda environment
test_env_args = dataclasses.replace(test_env_args, container_name=None)
for env_config_path in env_config_paths:
+ if env_config_path.name == "django.yaml":
+ continue
if env_config_path.suffix not in [".yaml", ".yml", ".sh"]:
continue
print(env_config_path)