summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-15 13:14:54 -0700
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-15 13:14:54 -0700
commita6b5733a94eaaf42c5b113de64fced3ea807c91e (patch)
treebc11927cb07e5ac910450c56d64c42a0a9c14687 /tests/test_completion.py
parente60836418647935572a9a35c7292ea73ff0fba07 (diff)
downloadcmd2-git-a6b5733a94eaaf42c5b113de64fced3ea807c91e.tar.gz
Removed unit test dependency on mock
mock was a backport of Python's built in unittest.mock and was required for Python 3.2 or earlier - Since we now support Python 3.4+ moving forward we no longer need to make use of the 3rd party mock module
Diffstat (limited to 'tests/test_completion.py')
-rw-r--r--tests/test_completion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py
index b102bc0a..5e76aee6 100644
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -13,7 +13,7 @@ import os
import sys
import cmd2
-import mock
+from unittest import mock
import pytest
# Prefer statically linked gnureadline if available (for macOS compatibility due to issues with libedit)