Skip to content

Pytest warning on readline #8847

Closed
@stefaneidelloth

Description

@stefaneidelloth

If I use pytest-6.2.4, pytest-cov 2.12.1 and python 3.9.4 on Windows 10

with following commands:

pytest --cov src --cov-fail-under=98 --cov-report=term-missing

or simply

pytest

I get a warning:

....\app\winpython\python-3.9.4.amd64\lib\site-packages\pyreadline\py3k_compat.py:8
c:\python_env\app\winpython\python-3.9.4.amd64\lib\site-packages\pyreadline\py3k_compat.py:8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3
, and in 3.10 it will stop working
return isinstance(x, collections.Callable)

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

=> Could please replace pyreadline or somehow hide the warning?

Related:
#8733
pyreadline/pyreadline#68

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: deprecationfeature that will be removed in the future

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions