Skip to content

back to SWE-Agent summary

SWE-Agent: loguru

Failed to run pytests for test tests

ImportError while loading conftest '/testbed/tests/conftest.py'.
tests/conftest.py:19: in <module>
    import loguru
loguru/__init__.py:9: in <module>
    from . import _defaults
loguru/_defaults.py:2: in <module>
    LOGURU_AUTOINIT = env('LOGURU_AUTOINIT', bool, True)
E   NameError: name 'env' is not defined

Patch diff