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_qtcore.py

19 lines
445 B

from __future__ import absolute_import
import pytest
from qtpy import PYQT5, PYSIDE2, QtCore
"""Test QtCore."""
def test_qtmsghandler():
"""Test qtpy.QtMsgHandler"""
assert QtCore.qInstallMessageHandler is not None
@pytest.mark.skipif(not (PYQT5 or PYSIDE2),
reason="Targeted to PyQt5 or PySide2")
def test_DateTime_toPython():
"""Test QDateTime.toPython"""
assert QtCore.QDateTime.toPython is not None