8000 Merge pull request #7011 from Kojoley/fix-skip_if_command_unavailable… · matplotlib/matplotlib@a83b261 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit a83b261

Browse files
authored
Merge pull request #7011 from Kojoley/fix-skip_if_command_unavailable-decorator
TST: Fixed `skip_if_command_unavailable` decorator problem
2 parents af16ac8 + 291558f commit a83b261

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, reason='missing command: %s' % cmd[0])
452452

453453
return lambda f: f

0 commit comments

Comments
 (0)
0