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

Skip to content

Commit d1c76b4

Browse files
committed
TST: Fixed skip_if_command_unavailable decorator problem
1 parent 211984d commit d1c76b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,6 @@ def skip_if_command_unavailable(cmd):
448448
try:
449449
check_output(cmd)
450450
except:
451-
skip('missing command: %s' % cmd[0])
451+
return skipif(True, 'missing command: %s' % cmd[0])
452452

453453
return lambda f: f

0 commit comments

Comments
 (0)