1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-22 00:55:43 +07:00

[test] Convert warnings into errors

* And fix some existing warnings

Authored by: fstirlitz
This commit is contained in:
pukkandan
2022-04-18 02:12:48 +05:30
parent 3d3bb1688b
commit b6dc37fe2a
9 changed files with 13 additions and 11 deletions

View File

@@ -159,7 +159,7 @@ def windows_enable_vt_mode(): # TODO: Do this the proper way https://bugs.pytho
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
try:
subprocess.Popen('', shell=True, startupinfo=startupinfo)
subprocess.Popen('', shell=True, startupinfo=startupinfo).wait()
WINDOWS_VT_MODE = True
except Exception:
pass