summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
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