Skip to content

Commit d1b8f31

Browse files
committed
Do not set API version for PyQt4
fixes #29
1 parent 6a9cbd4 commit d1b8f31

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pytestqt/qt_compat.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
msg = 'pytest-qt requires either PyQt4 or PySide to be installed'
2727
raise ImportError(msg)
2828
USING_PYSIDE = False
29-
sip.setapi('QString', 2)
30-
sip.setapi('QVariant', 2)
3129
import PyQt4.QtCore as _QtCore
3230
QtCore = _QtCore
3331

0 commit comments

Comments
 (0)