From 3ce370750cc918cea7589b995067d5f1cb741695 Mon Sep 17 00:00:00 2001 From: jsbautista Date: Tue, 5 Nov 2024 11:33:05 -0500 Subject: [PATCH] Add linux shortcuts --- qtconsole/tests/test_qtconsoleapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtconsole/tests/test_qtconsoleapp.py b/qtconsole/tests/test_qtconsoleapp.py index 66492300..2c330247 100644 --- a/qtconsole/tests/test_qtconsoleapp.py +++ b/qtconsole/tests/test_qtconsoleapp.py @@ -53,7 +53,7 @@ def test_shortcut_traitlets(): assert app.shortcut_next_tab == ("Ctrl+Alt+Right" if sys.platform == 'darwin' else "Ctrl+PgDown") assert app.shortcut_rename_window == "Alt+R" assert app.shortcut_rename_current_tab == "Ctrl+R" - assert app.shortcut_close == ("Ctrl+W" if sys.platform.startswith('linux') else "Ctrl+F4") + assert app.shortcut_close == ("Ctrl+F4" if sys.platform.startswith('win') else "Ctrl+W") @pytest.mark.parametrize(