Skip to content

Commit

Permalink
Enable test_patch_qheaderview
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jun 3, 2018
1 parent fee2075 commit 785f1ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qtpy/tests/test_patch_qheaderview.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def get_qapp(icon_path=None):
return qapp


@pytest.mark.skipif(PY3 or PYSIDE2, reason="It fails on Python 3 and PySide2")
def test_patched_qheaderview():
"""
This will test whether QHeaderView has the new methods introduced in Qt5.
Expand All @@ -46,7 +45,7 @@ class Model(QAbstractListModel):
# test it
assert isinstance(headerview.sectionsClickable(), bool)
assert isinstance(headerview.sectionsMovable(), bool)
if PYSIDE:
if PYSIDE or PYSIDE2:
assert isinstance(headerview.sectionResizeMode(0),
QHeaderView.ResizeMode)
else:
Expand Down

0 comments on commit 785f1ca

Please sign in to comment.