Skip to content

Commit 44f76ef

Browse files
committed
Merge pull request #30 from nicoddemus/issue-29
Do not set API version for PyQt4
2 parents 6a9cbd4 + d1b8f31 commit 44f76ef

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)