Skip to content

Commit

Permalink
Removed a couple empty .format() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
tleonhardt committed Oct 22, 2024
1 parent cd73cc8 commit f233e44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down

0 comments on commit f233e44

Please sign in to comment.