From 785f1ca6d30b3935a9884df8bdf4a64c532097fd Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Sun, 3 Jun 2018 18:41:56 +0200 Subject: [PATCH] Enable test_patch_qheaderview --- qtpy/tests/test_patch_qheaderview.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qtpy/tests/test_patch_qheaderview.py b/qtpy/tests/test_patch_qheaderview.py index 17037f34..31b5b303 100644 --- a/qtpy/tests/test_patch_qheaderview.py +++ b/qtpy/tests/test_patch_qheaderview.py @@ -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. @@ -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: