summaryrefslogtreecommitdiff
path: root/tests/test_parsing.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_parsing.py')
-rwxr-xr-xtests/test_parsing.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/test_parsing.py b/tests/test_parsing.py
index 291b0f55..9776dace 100755
--- a/tests/test_parsing.py
+++ b/tests/test_parsing.py
@@ -997,7 +997,9 @@ def test_is_valid_command_valid(parser):
def test_macro_normal_arg_pattern():
# This pattern matches digits surrounded by exactly 1 brace on a side and 1 or more braces on the opposite side
- from cmd2.parsing import MacroArg
+ from cmd2.parsing import (
+ MacroArg,
+ )
pattern = MacroArg.macro_normal_arg_pattern
@@ -1049,7 +1051,9 @@ def test_macro_normal_arg_pattern():
def test_macro_escaped_arg_pattern():
# This pattern matches digits surrounded by 2 or more braces on both sides
- from cmd2.parsing import MacroArg
+ from cmd2.parsing import (
+ MacroArg,
+ )
pattern = MacroArg.macro_escaped_arg_pattern