How to filter warnings with --pyargs option and pyproject.toml #12152
-
Hi All, Hi Pytest team, I tried to filter some warnings but it seems not to work. I would like to know if there is a way to filter those warnings and understand what I am doing wrong. I use the following command : # install the project to the environment
pip install dipy
# create a new folder
mkdir for_testing
# leave the source folder and go to this new empty folder
cd for_testing
# Copy the pyproject.toml to use it as a configuration files
cp ../pyproject.toml .
# Run the tests
pytest -c pyproject.toml -svv --doctest-modules --verbose --durations=10 --pyargs dipy my pyproject.toml contains the following information:
I am ok if there is an alternative without the Thank you for your feedback PS : I have search on the repo, but could not find an associated issue. |
Beta Was this translation helpful? Give feedback.
Answered by
jhlegarreta
Apr 24, 2024
Replies: 1 comment 4 replies
-
Hi all, I will be happy to clarify if there is something not clear in my question. Any ideas ? feedback ? Thanks |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@nicoddemus Looks like we found out why the warning was being raised: this commits fixes it:
dipy/dipy@79e64a8
Unless @skoudoro has some other comment, the issue may be closed.
Thanks for developing
pytest
and providing support.