We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6edbea3 commit 1c12eacCopy full SHA for 1c12eac
pytestqt/qt_compat.py
@@ -1,8 +1,12 @@
1
-'''
2
-Initial sources from https://github.com/epage/PythonUtils.
+"""
+Provide a common way to import Qt classes used by pytest-qt in a unique manner,
3
+abstracting API differences between PyQt4, PyQt5 and PySide.
4
-Modified to support other modules besides QtCore.
5
+.. note:: This module is not part of pytest-qt public API, hence its interface
6
+may change between releases and users should not rely on it.
7
+
8
+Based on from https://github.com/epage/PythonUtils.
9
10
11
from __future__ import with_statement
12
from __future__ import division
0 commit comments