diff --git a/tests/integration/test_insert_mode.py b/tests/integration/test_insert_mode.py index 7bf0a6958..e4d6fb669 100644 --- a/tests/integration/test_insert_mode.py +++ b/tests/integration/test_insert_mode.py @@ -79,8 +79,8 @@ def test_auto_leave_insert_mode(quteproc): quteproc.send_cmd(':enter-mode caret') quteproc.send_cmd(':paste-primary') - expected_message = 'paste-primary: This command is only allowed in '\ - 'insert mode.' + expected_message = ('paste-primary: This command is only allowed in ' + 'insert mode.') quteproc.mark_expected(category='message', loglevel=logging.ERROR, message=expected_message)