@dec.onlyif(has_pywin32, 'This test requires win32api to run')
def test_find_cmd_pythonw():
 path = find_cmd('pythonw')
 assert path.lower().endswith('pythonw.exe'), path

@ dec . onlyif ( has_pywin32 , 'This test requires win32api to run' ) def test_find_cmd_pythonw ( ) : path = find_cmd ( 'pythonw' ) assert path . lower ( ) . endswith ( 'pythonw.exe' ) , path
try to find pythonw on windows .