/usr/lib/python2.7/dist-packages/qtpy/tests/test_qtsvg.py is in python-qtpy 1.3.1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from __future__ import absolute_import
import pytest
from qtpy import PYSIDE2
@pytest.mark.skipif(PYSIDE2, reason="It fails on PySide2")
def test_qtsvg():
"""Test the qtpy.QtSvg namespace"""
from qtpy import QtSvg
assert QtSvg.QGraphicsSvgItem is not None
assert QtSvg.QSvgGenerator is not None
assert QtSvg.QSvgRenderer is not None
assert QtSvg.QSvgWidget is not None
|