Skip to content

Commit

Permalink
Reverting binding("PySide2") QStringListModel as a test
Browse files Browse the repository at this point in the history
  • Loading branch information
zoshua committed Apr 5, 2024
1 parent f8e4124 commit 55a9c7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1356,13 +1356,13 @@ def test_coexistence():
"""Qt.py may be use alongside the actual binding"""

from Qt import QtCore
import PySide2.QtCore
import PySide2.QtGui

# Qt remaps QStringListModel
assert QtCore.QStringListModel

# But does not delete the original
assert PySide2.QtCore.QStringListModel
assert PySide2.QtGui.QStringListModel


if binding("PySide6"):
Expand Down

0 comments on commit 55a9c7b

Please sign in to comment.