test_qtcharts.py 303 B

1234567891011
  1. from __future__ import absolute_import
  2. import pytest
  3. from qtpy import PYSIDE2
  4. @pytest.mark.skipif(not PYSIDE2, reason="Only available by default in PySide2")
  5. def test_qtcharts():
  6. """Test the qtpy.QtCharts namespace"""
  7. from qtpy import QtCharts
  8. assert QtCharts.QtCharts.QChart is not None