Closed
Description
Summary
pytest has deprecated message
parameter for checking exceptions. this bloats the testing output for pytest.
Actual behavior
/src/nipype/nipype/algorithms/tests/test_CompCor.py:148
/src/nipype/nipype/algorithms/tests/test_CompCor.py:148: PytestDeprecationWarning: The 'message' parameter is deprecated.
(did you mean to use `match='some regex'` to check the exception message?)
Please comment on https://github.com/pytest-dev/pytest/issues/3974 if you have concerns about removal of this parameter.
with pytest.raises(ValueError, message='more than one mask file'):
Expected behavior
no warnings from pytest
How to replicate the behavior
current travis tests
Platform details:
travis testing
Metadata
Metadata
Assignees
Labels
No labels