Skip to content

back to SWE-Agent summary

SWE-Agent: pypdf

Failed to run pytests for test tests

ImportError while loading conftest '/testbed/tests/conftest.py'.
tests/__init__.py:10: in <module>
    from pypdf.generic import DictionaryObject, IndirectObject
pypdf/__init__.py:10: in <module>
    from ._crypt_providers import crypt_provider
pypdf/_crypt_providers/__init__.py:62: in <module>
    from pypdf._crypt_providers._fallback import (  # type: ignore
E   ImportError: cannot import name 'aes_cbc_decrypt' from 'pypdf._crypt_providers._fallback' (/testbed/pypdf/_crypt_providers/_fallback.py)

Patch diff