Skip to content

Commit

Permalink
iotests: ignore import warnings from pylint
Browse files Browse the repository at this point in the history
The right way to solve this is to come up with a virtual environment
infrastructure that sets all the paths correctly, and/or to create
installable python modules that can be imported normally.

That's hard, so just silence this error for now.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20200331000014.11581-4-jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
  • Loading branch information
jnsnow authored and XanClic committed May 5, 2020
1 parent 1d3d4b6 commit 368e062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/qemu-iotests/iotests.py
Expand Up @@ -30,6 +30,7 @@
from collections import OrderedDict
import faulthandler

# pylint: disable=import-error, wrong-import-position
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
from qemu import qtest

Expand Down

0 comments on commit 368e062

Please sign in to comment.