summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-02-21 10:04:56 -0500
committerGitHub <noreply@github.com>2021-02-21 10:04:56 -0500
commit9c60ac6f3169f9df37e6c5166844fb9cf5f6766d (patch)
treef96381edfdb6a31585e7ab3e3e05ded9d41731ec /tests/test_completion.py
parenta7119e1b26a8bae531b118b7cb8c4b195f731df6 (diff)
parent811a7302eef99b9f67bfcdde3400322b7557dbab (diff)
downloadcmd2-git-9c60ac6f3169f9df37e6c5166844fb9cf5f6766d.tar.gz
Merge pull request #1059 from python-cmd2/deprecate_35
Deprecate support for Python 3.5
Diffstat (limited to 'tests/test_completion.py')
-rwxr-xr-xtests/test_completion.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py
index 6a6e2eff..0635bb48 100755
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -6,16 +6,13 @@ Unit/functional testing for readline tab completion functions in the cmd2.py mod
These are primarily tests related to readline completer functions which handle tab completion of cmd2/cmd commands,
file system paths, and shell commands.
"""
-# Python 3.5 had some regressions in the unitest.mock module, so use 3rd party mock if available
-try:
- import mock
-except ImportError:
- from unittest import mock
-
import argparse
import enum
import os
import sys
+from unittest import (
+ mock,
+)
import pytest