0

I am using pytest --pycodestyle and pytest --flakes. This is giving me PytestRemovedIn8Warning(I am using flake8 here.) I am looking for solution to ignore this warning only without ignoring other warnings. Full warning is as below:

..\..\Miniconda3\envs\cookiecutter\lib\site-packages\_pytest\nodes.py:633
..\..\Miniconda3\envs\cookiecutter\lib\site-packages\_pytest\nodes.py:633
..\..\Miniconda3\envs\cookiecutter\lib\site-packages\_pytest\nodes.py:633
..\..\Miniconda3\envs\cookiecutter\lib\site-packages\_pytest\nodes.py:633
..\..\Miniconda3\envs\cookiecutter\lib\site-packages\_pytest\nodes.py:633
..\..\Miniconda3\envs\cookiecutter\lib\site-packages\_pytest\nodes.py:633
..\..\Miniconda3\envs\cookiecutter\lib\site-packages\_pytest\nodes.py:633
..\..\Miniconda3\envs\cookiecutter\lib\site-packages\_pytest\nodes.py:633
  C:\Users\simediya\Miniconda3\envs\cookiecutter\lib\site-packages\_pytest\nodes.py:633: PytestRemovedIn8Warning: The (fspath: py.path.local) argument to FlakesFile is deprecated. Please use the (path: pathlib.Path) argument instead.
  See https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path
    return super().from_parent(parent=parent, fspath=fspath, path=path, **kw)

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

0 Answers0