diff options
author | Joel Bradshaw <cincodenada@gmail.com> | 2018-12-24 00:10:30 -0800 |
---|---|---|
committer | Joel Bradshaw <cincodenada@gmail.com> | 2018-12-24 00:37:18 -0800 |
commit | c2c64d0623df3121f69185220ffc57af10c423d4 (patch) | |
tree | 1638cb0822cbdc338c9a172ec703a86416b4b138 /tests/unit/keyinput | |
parent | 065ece5283d7f582498fae04b438cc6a1f97dc38 (diff) | |
download | qutebrowser-c2c64d0623df3121f69185220ffc57af10c423d4.tar.gz qutebrowser-c2c64d0623df3121f69185220ffc57af10c423d4.zip |
Never mind, early return is what we want
Also, add default variable so old code (e.g. tests) is okay, and
update keycode for the Chinese character even though it doesn't
really matter to the test
Diffstat (limited to 'tests/unit/keyinput')
-rw-r--r-- | tests/unit/keyinput/test_keyutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/keyinput/test_keyutils.py b/tests/unit/keyinput/test_keyutils.py index af80e00ea..1e5350989 100644 --- a/tests/unit/keyinput/test_keyutils.py +++ b/tests/unit/keyinput/test_keyutils.py @@ -167,7 +167,7 @@ def test_key_info_str(key, modifiers, expected): def test_extended_unicode(): assert str(keyutils.KeyInfo(0xd83c, Qt.NoModifier, "🏻")) == "🏻" - assert str(keyutils.KeyInfo(0xd83c, Qt.NoModifier, "𩷶")) == "𩷶" + assert str(keyutils.KeyInfo(0xd867, Qt.NoModifier, "𩷶")) == "𩷶" @pytest.mark.parametrize('keystr, expected', [ ('foo', "Could not parse 'foo': error"), |