Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7af3c64

Browse files
author
jferrara
committed
Undo Testing Deprecation Warning for onlyif_cmds_exist
1 parent 35fe1d3 commit 7af3c64

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

IPython/testing/decorators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,6 @@ def onlyif_cmds_exist(*commands):
361361
"""
362362
Decorator to skip test when at least one of `commands` is not found.
363363
"""
364-
warnings.warn("The function `onlyif_cmds_exist` is deprecated and might be removed in next major version of IPython", DeprecationWarning)
365364
for cmd in commands:
366365
if not which(cmd):
367366
return skip("This test runs only if command '{0}' "

0 commit comments

Comments
 (0)