1
0
Fork 0

[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
commit b6dc37fe2a
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
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