Show More
@@ -374,7 +374,7 b' def onlyif_cmds_exist(*commands):' | |||
|
374 | 374 | "is installed".format(cmd)) |
|
375 | 375 | except ImportError as e: |
|
376 | 376 | # is_cmd_found uses pywin32 on windows, which might not be available |
|
377 |
if sys.platform == 'win32' and 'pywin32' in e |
|
|
377 | if sys.platform == 'win32' and 'pywin32' in str(e): | |
|
378 | 378 | return skip("This test runs only if pywin32 and command '{0}' " |
|
379 | 379 | "is installed".format(cmd)) |
|
380 | 380 | raise e |
General Comments 0
You need to be logged in to leave comments.
Login now