Show More
@@ -376,7 +376,7 b' def onlyif_cmds_exist(*commands):' | |||
|
376 | 376 | Decorator to skip test when at least one of `commands` is not found. |
|
377 | 377 | """ |
|
378 | 378 | for cmd in commands: |
|
379 | reason = "This test runs only if command '{cmd}' is installed" | |
|
379 | reason = f"This test runs only if command '{cmd}' is installed" | |
|
380 | 380 | if not shutil.which(cmd): |
|
381 | 381 | if os.environ.get("IPTEST_WORKING_DIR", None) is not None: |
|
382 | 382 | return skip(reason) |
General Comments 0
You need to be logged in to leave comments.
Login now