mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 08:20:00 -04:00
Make pytest.PytestRemovedIn9Warning warning for "make check"
(cherry picked from commit c10333a340)
This commit is contained in:
parent
f7b71b7c89
commit
c404155978
1 changed files with 4 additions and 0 deletions
|
|
@ -560,6 +560,10 @@ stages:
|
|||
script:
|
||||
- cd bin/tests/system
|
||||
- RET=0
|
||||
# With pytest 9.0, there's the following error in pytest_ignore_collect():
|
||||
# The (path: py.path.local) argument is deprecated, please use (collection_path: pathlib.Path).
|
||||
# This should be fixed before pytest 9.1, when it becomes ineffective.
|
||||
- if pytest --version | grep -F "pytest 9.0" >/dev/null; then echo "filterwarnings = ignore::pytest.PytestRemovedIn9Warning" >> pytest.ini; fi
|
||||
- make -j${TEST_PARALLEL_JOBS:-1} check || RET=$?
|
||||
- cd "$CI_PROJECT_DIR"
|
||||
- *find_python
|
||||
|
|
|
|||
Loading…
Reference in a new issue