From 8e1672e7a3bed66331ebdcfa298672c08349dd3a Mon Sep 17 00:00:00 2001 From: jsbautista Date: Tue, 5 Nov 2024 10:50:12 -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 15c51ade..76b984f0 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+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 == 'darwin' else "Ctrl+F4") + assert app.shortcut_close == ("Ctrl+W" if sys.platform.startswith('linux') else "Ctrl+F4") @pytest.mark.parametrize(