mirror of
https://github.com/LucBerge/yt-dlp.git
synced 2025-03-17 19:57:52 +03:00
[test] Convert warnings into errors
* And fix some existing warnings Authored by: fstirlitz
This commit is contained in:
parent
3d3bb1688b
commit
b6dc37fe2a
9 changed files with 13 additions and 11 deletions
|
@ -13,4 +13,5 @@ if ["%~1"]==[""] (
|
|||
exit /b 1
|
||||
)
|
||||
|
||||
set PYTHONWARNINGS=error
|
||||
pytest %test_set%
|
||||
|
|
|
@ -11,4 +11,4 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
python3 -m pytest "$test_set"
|
||||
python3 -bb -Werror -m pytest "$test_set"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue