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.
19 lines
445 B
19 lines
445 B
6 years ago
|
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
|