Show More
@@ -393,8 +393,8 b' def onlyif_any_cmd_exists(*commands):' | |||||
393 | except ImportError as e: |
|
393 | except ImportError as e: | |
394 | # is_cmd_found uses pywin32 on windows, which might not be available |
|
394 | # is_cmd_found uses pywin32 on windows, which might not be available | |
395 | if sys.platform == 'win32' and 'pywin32' in str(e): |
|
395 | if sys.platform == 'win32' and 'pywin32' in str(e): | |
396 | return skip("This test runs only if pywin32 and command '{0}' " |
|
396 | return skip("This test runs only if pywin32 and commands '{0}' " | |
397 |
" |
|
397 | "are installed".format(commands)) | |
398 | raise e |
|
398 | raise e | |
399 | return skip("This test runs only if one of the commands {0} " |
|
399 | return skip("This test runs only if one of the commands {0} " | |
400 | "is installed".format(commands)) |
|
400 | "is installed".format(commands)) |
General Comments 0
You need to be logged in to leave comments.
Login now