8000 don't check control deprecation warnings · python-control/Slycot@dd1901e · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit dd1901e

Browse files
committed
don't check control deprecation warnings
1 parent 9ad09e9 commit dd1901e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/scripts/run-tests.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ echo "::endgroup::"
1111

1212
echo "::group::python-control unit tests"
1313
pushd ${python_control_srcdir:=./python-control}
14-
# test_root_locus_zoom, test_sisotool: problems with the toolbar for MPL backends, not relevant to Slycot
14+
# problems with the toolbar for MPL backends, not relevant to Slycot
15+
donttest="test_root_locus_zoom or test_sisotool"
16+
# don't care about deprecation warnings here
17+
donttest="$donttest or test_default_deprecation"
1518
pytest control/tests \
1619
--cov=$slycot_libdir \
1720
--cov-config=${slycot_srcdir}/.coveragerc \
18-
-k "not (test_root_locus_zoom or test_sisotool)"
21+
-k "not ($donttest)"
1922
mv .coverage ${slycot_srcdir}/.coverage.control
2023
popd
2124
echo "::endgroup::"

0 commit comments

Comments
 (0)
0