You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/Resources/WPy64-3720/python-3.7.2.amd64/Lib/site-packages/qtpy/tests/test_qtmultimediawidgets.py

19 lines
716 B

from __future__ import absolute_import
import os
import sys
import pytest
from qtpy import PYQT5, PYSIDE2
@pytest.mark.skipif(not (PYQT5 or PYSIDE2), reason="Only available in Qt5 bindings")
@pytest.mark.skipif(os.name == 'nt' and sys.version_info[:2] == (3, 5),
reason="Conda packages don't seem to include QtMultimedia")
def test_qtmultimediawidgets():
"""Test the qtpy.QtMultimediaWidgets namespace"""
from qtpy import QtMultimediaWidgets
assert QtMultimediaWidgets.QCameraViewfinder is not None
assert QtMultimediaWidgets.QGraphicsVideoItem is not None
assert QtMultimediaWidgets.QVideoWidget is not None
#assert QtMultimediaWidgets.QVideoWidgetControl is not None