提交 a95479d9 编写于 作者: C Cleber Rosa

selftests/functional/test_output.py: fix for conditional skip of test

This fixes the recently introduced commit 5f7bafd0, running the skip
function instead of passing the function itself to `unittest.skipIf`.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 19b21552
......@@ -266,7 +266,7 @@ class OutputPluginTest(unittest.TestCase):
except OSError:
pass
@unittest.skipIf(image_output_uncapable,
@unittest.skipIf(image_output_uncapable(),
"Uncapable of generating images with PIL library")
def test_gendata(self):
tmpfile = tempfile.mktemp()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册