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

12 lines
303 B
Python
Raw Permalink Normal View History

2020-11-12 16:05:57 +00:00
from __future__ import absolute_import
import pytest
from qtpy import PYSIDE2
@pytest.mark.skipif(not PYSIDE2, reason="Only available by default in PySide2")
def test_qtcharts():
"""Test the qtpy.QtCharts namespace"""
from qtpy import QtCharts
assert QtCharts.QtCharts.QChart is not None