diff options
author | Eric Lin <anselor@gmail.com> | 2021-01-05 11:29:39 -0500 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2021-01-21 10:24:08 -0500 |
commit | f1f76a4ba207d802f78277d0ba3defa44cf7b973 (patch) | |
tree | 0a59103b35e9160aed2466fdafa0f8020c426bcc /tests/test_argparse.py | |
parent | e0dee46ca871e56523059b1566577ff781f6fb63 (diff) | |
download | cmd2-git-import_wrapping.tar.gz |
Changed isort to force wrapping of imports to reduce merge conflicts from minor import changes.import_wrapping
Diffstat (limited to 'tests/test_argparse.py')
-rw-r--r-- | tests/test_argparse.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/test_argparse.py b/tests/test_argparse.py index 7059e9d3..e7806056 100644 --- a/tests/test_argparse.py +++ b/tests/test_argparse.py @@ -4,13 +4,17 @@ Cmd2 testing for argument parsing """ import argparse -from typing import Optional +from typing import ( + Optional, +) import pytest import cmd2 -from .conftest import run_cmd +from .conftest import ( + run_cmd, +) # Prefer statically linked gnureadline if available (for macOS compatibility due to issues with libedit) try: @@ -457,4 +461,3 @@ def test_pytest_mock_invalid(mocker): def test_pytest_mock_valid(mocker, spec_param): mocker.patch.object(ArgparseApp, 'namespace_provider', **spec_param) app = ArgparseApp() - |