From a9f5d45c3462d4519704ac88c535cedb524ba74b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 17 May 2015 18:52:25 +0200 Subject: [PATCH] Fix tests on OS X. --- tests/utils/test_utils.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/utils/test_utils.py b/tests/utils/test_utils.py index 40c254a0b..09b8e0d8f 100644 --- a/tests/utils/test_utils.py +++ b/tests/utils/test_utils.py @@ -19,7 +19,6 @@ """Tests for qutebrowser.utils.utils.""" -import sys import enum import datetime import os.path @@ -320,10 +319,7 @@ class TestKeyEventToString: evt = fake_keyevent_factory( key=Qt.Key_A, modifiers=(Qt.ControlModifier | Qt.AltModifier | Qt.MetaModifier | Qt.ShiftModifier)) - if sys.platform == 'darwin': - assert utils.keyevent_to_string(evt) == 'Ctrl+Alt+Shift+A' - else: - assert utils.keyevent_to_string(evt) == 'Ctrl+Alt+Meta+Shift+A' + assert utils.keyevent_to_string(evt) == 'Ctrl+Alt+Meta+Shift+A' class TestNormalize: