python: use a decorator to skip tests based on imports

Authored by pino on Feb 8 2019, 9:46 PM.

Description

python: use a decorator to skip tests based on imports

Create a decorator to skip a test in case a module is not installed,
and use it for the two tests that use PyQt5.

Details

Committed
pinoFeb 8 2019, 9:46 PM
Parents
R514:0517b41cdacc: python: initialize PythonExtension only once
Branches
Unknown
Tags
Unknown