Vehicle-Anti-Theft-Face-Rec.../venv/Lib/site-packages/qtpy/tests/test_qtmultimedia.py

19 lines
580 B
Python
Raw Permalink Normal View History

2020-11-12 16:05:57 +00:00
from __future__ import absolute_import
import os
import sys
import pytest
@pytest.mark.skipif(os.name == 'nt' and sys.version_info[:2] == (3, 5),
reason="Conda packages don't seem to include QtMultimedia")
def test_qtmultimedia():
"""Test the qtpy.QtMultimedia namespace"""
from qtpy import QtMultimedia
assert QtMultimedia.QAbstractVideoBuffer is not None
assert QtMultimedia.QAudio is not None
assert QtMultimedia.QAudioDeviceInfo is not None
assert QtMultimedia.QAudioInput is not None
assert QtMultimedia.QSound is not None