summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2021-04-27 10:46:39 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2021-04-27 10:46:39 -0400
commita6dcc37352e59d893b0405c10b89e0a34fc57a0f (patch)
tree8cd921ff2dfa7adcf51167597016183072cf4bc8 /tests
parentfe2f5bdd85d9a3566e52bf3a1f4ebe85656b2ed6 (diff)
downloadcmd2-git-a6dcc37352e59d893b0405c10b89e0a34fc57a0f.tar.gz
Style changes from running black on Python 3.9
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py2
-rw-r--r--tests/test_argparse.py2
-rwxr-xr-xtests/test_cmd2.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index c605a73e..a5c47d97 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -141,7 +141,7 @@ def normalize(block):
def run_cmd(app, cmd):
- """ Clear out and err StdSim buffers, run the command, and return out and err """
+ """Clear out and err StdSim buffers, run the command, and return out and err"""
saved_sysout = sys.stdout
sys.stdout = app.stdout
diff --git a/tests/test_argparse.py b/tests/test_argparse.py
index 0fbc44f0..16664d7e 100644
--- a/tests/test_argparse.py
+++ b/tests/test_argparse.py
@@ -244,7 +244,7 @@ def test_preservelist(argparse_app):
class SubcommandApp(cmd2.Cmd):
- """ Example cmd2 application where we a base command which has a couple subcommands."""
+ """Example cmd2 application where we a base command which has a couple subcommands."""
def __init__(self):
cmd2.Cmd.__init__(self)
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 7595327f..fb4c9d76 100755
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -2304,7 +2304,7 @@ def test_get_help_topics_hidden():
class ReplWithExitCode(cmd2.Cmd):
- """ Example cmd2 application where we can specify an exit code when existing."""
+ """Example cmd2 application where we can specify an exit code when existing."""
def __init__(self):
super().__init__(allow_cli_args=False)