From fba0ae69ce0b59a49b2ebc81af2f5d60f8ec9bf5 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 3 Apr 2015 23:05:08 +0200 Subject: [PATCH] Remove test_reconverted from qenum_key tests. The test didn't really seem to test anything useful, and also uses a QFlags instead of a QEnum. --- qutebrowser/test/utils/debug/test_qenum_key.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/qutebrowser/test/utils/debug/test_qenum_key.py b/qutebrowser/test/utils/debug/test_qenum_key.py index f98c58c34..4361ba567 100644 --- a/qutebrowser/test/utils/debug/test_qenum_key.py +++ b/qutebrowser/test/utils/debug/test_qenum_key.py @@ -75,12 +75,3 @@ def test_unknown(): key = debug.qenum_key(QFrame, 0x1337, klass=QFrame.Shadow) assert key == '0x1337' - - -def test_reconverted(): - """Test passing a flag value which was re-converted to an enum.""" - - pytest.skip(msg="It is not clear what this test is supposed to do") - - # FIXME maybe this should return the right thing anyways? - debug.qenum_key(Qt, Qt.Alignment(int(Qt.AlignLeft)))