From f233e44f81fc1a69b5a84e1950147b616a36c8c0 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Tue, 22 Oct 2024 11:46:24 -0400 Subject: [PATCH] Removed a couple empty .format() calls --- tests/test_completion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_completion.py b/tests/test_completion.py index 27b974af..67f0fe07 100755 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -275,7 +275,7 @@ def test_cmd2_help_completion_nomatch(cmd2_app): def test_set_allow_style_completion(cmd2_app): """Confirm that completing allow_style presents AllowStyle strings""" text = '' - line = 'set allow_style'.format() + line = 'set allow_style' endidx = len(line) begidx = endidx - len(text) @@ -289,7 +289,7 @@ def test_set_allow_style_completion(cmd2_app): def test_set_bool_completion(cmd2_app): """Confirm that completing a boolean Settable presents true and false strings""" text = '' - line = 'set debug'.format() + line = 'set debug' endidx = len(line) begidx = endidx - len(text)