Skip to content

Test session warnings, cryptproveders and downcasting. #612

@bosd

Description

@bosd

.nox/tests-3-11/lib64/python3.11/site-packages/pypdf/_crypt_providers/_cryptography.py:32
/home/data/git/camelot-dev/.nox/tests-3-11/lib64/python3.11/site-packages/pypdf/_crypt_providers/_cryptography.py:32: CryptographyDeprecationWarning: ARC4 has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.ARC4 and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0.
from cryptography.hazmat.primitives.ciphers.algorithms import AES, ARC4

tests/test_hybrid.py::test_hybrid_process_background
/home/data/git/camelot-dev/camelot/parsers/hybrid.py:161: FutureWarning: Downcasting behavior in replace is deprecated and will be removed in a future version. To retain the old behavior, explicitly call result.infer_objects(copy=False). To opt-in to the future behavior, set pd.set_option('future.no_silent_downcasting', True)
table.df = table.df.replace("", np.nan)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions