diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-18 02:12:48 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-18 02:12:48 +0530 |
commit | b6dc37fe2aee167bf11f863f960a4888f4886718 (patch) | |
tree | 0f54c44d32768acf9066bae7c0791e162e877369 /devscripts | |
parent | 3d3bb1688bfc5373105e6bf7c3d4729cf3f78788 (diff) | |
download | hypervideo-pre-b6dc37fe2aee167bf11f863f960a4888f4886718.tar.lz hypervideo-pre-b6dc37fe2aee167bf11f863f960a4888f4886718.tar.xz hypervideo-pre-b6dc37fe2aee167bf11f863f960a4888f4886718.zip |
[test] Convert warnings into errors
* And fix some existing warnings
Authored by: fstirlitz
Diffstat (limited to 'devscripts')
-rw-r--r-- | devscripts/run_tests.bat | 1 | ||||
-rwxr-xr-x | devscripts/run_tests.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/devscripts/run_tests.bat b/devscripts/run_tests.bat index b8bb393d9..190d23918 100644 --- a/devscripts/run_tests.bat +++ b/devscripts/run_tests.bat @@ -13,4 +13,5 @@ if ["%~1"]==[""] ( exit /b 1 ) +set PYTHONWARNINGS=error pytest %test_set% diff --git a/devscripts/run_tests.sh b/devscripts/run_tests.sh index c9a75ba00..e9904ae35 100755 --- a/devscripts/run_tests.sh +++ b/devscripts/run_tests.sh @@ -11,4 +11,4 @@ else exit 1 fi -python3 -m pytest "$test_set" +python3 -bb -Werror -m pytest "$test_set" |